[fpc-pascal] readonly variables

Jorge Aldo G. de F. Junior jagfj80 at gmail.com
Mon Nov 30 03:19:07 CET 2009


This is quite simple :

1 - Imagine that fpc initializes all memory to 0.
2 - Imagine that you are running on a low power platform.
3 - You are not going to use the default value of 0.
4 - You reinitialize the memory to your own default value.

See, you did TWO memory store instructions instead of just one, and
this is a waste of time/power.



More information about the fpc-pascal mailing list