Timeline for Recreating binary counter for arbitrary length arrays
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 13, 2015 at 14:59 | history | tweeted | twitter.com/#!/StackCodeReview/status/609736783354576896 | ||
May 20, 2015 at 20:40 | comment | added | Matt Borja | Yes, it's the same | |
May 20, 2015 at 19:16 | comment | added | chux |
Is type byte an 8-bit unsigned integer like the standard exact width type uint8_t ?
|
|
May 19, 2015 at 5:57 | history | edited | Matt Borja | CC BY-SA 3.0 |
Update test to demonstrate latest benchmark capture.
|
May 19, 2015 at 5:51 | history | edited | Matt Borja | CC BY-SA 3.0 |
Update benchmark
|
May 18, 2015 at 23:05 | answer | added | JS1 | timeline score: 1 | |
May 18, 2015 at 22:57 | comment | added | Reinderien | Depending on your dev env, you might be able to access the carry flag from C directly. | |
May 18, 2015 at 22:56 | comment | added | Matt Borja | Ah, but I'm not quite ready for assembly just yet :) Will add a note to myself to look into it though... | |
May 18, 2015 at 22:56 | history | edited | Matt Borja | CC BY-SA 3.0 |
Clarify platform requirements.
|
May 18, 2015 at 22:55 | comment | added | Reinderien | If you care about cost and you're on a microcontroller, your overflow logic should be implemented in assembly and check the carry flag. | |
May 18, 2015 at 22:54 | comment | added | Matt Borja | Ah, I guess I should've this pointed out: This is for an Atmega328 (i.e. Arduino Uno) and I'm told that merely adding 1 to a uint64 can be a bit costly: forum.arduino.cc/index.php?topic=58697.msg422187#msg422187 | |
May 18, 2015 at 22:50 | comment | added | Reinderien | If it's 8 or 16 bytes, you shouldn't be stringing together bytes - string together uint64s. The overflow logic will operate much more quickly. | |
May 18, 2015 at 22:39 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 11 characters in body
|
May 18, 2015 at 22:37 | review | First posts | |||
May 18, 2015 at 23:39 | |||||
May 18, 2015 at 22:33 | history | asked | Matt Borja | CC BY-SA 3.0 |