01.10.2011, 04:22
Obviously defining smaller string arrays will reduce memory usage. It will not change cpu usage.
To answer the original question, the number 256 is a nice round number in coding terms because it is 2 ^ 8 or
2x2x2x2x2x2x2x2 = 256
This does not make it in any way a better default size for string arrays
To answer the original question, the number 256 is a nice round number in coding terms because it is 2 ^ 8 or
2x2x2x2x2x2x2x2 = 256
This does not make it in any way a better default size for string arrays