|
|
|
|
|
by protomyth
4885 days ago
|
|
Given the limits of the data type, I really am not going to think ahead until I change the data type[1]. If the new datatype can hold 10,000 numbers, then I will probably go back to an algorithm. I am really not sure about these embedded systems that have more RAM than ROM / EPROM / Flash. 384 bytes used for constant time performance in and embedded situation sounds pretty good to me. 1) not only would that be premature optimization, it would also change a function from constant time to variable. I do wonder about how big the stack frame is. |
|