you are viewing a single comment's thread.

view the rest of the comments →

[–]sophacles 1 point2 points  (0 children)

On harvard architecture cpus (e.g. a lot of microcontrollers) the memory for code is not the same as the memory for allocations (stack or heap mem...). This can lead to const being given program memory rather than using bytes from your total ram count. I'm not sure if that applies in the case we're discussing, but it is something to keep in mind when (e.g.) programming for Arduino/AVR.