String array sizes
#4

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
Reply


Messages In This Thread
String array sizes - by rt-2 - 01.10.2011, 03:51
Re: String array sizes - by grand.Theft.Otto - 01.10.2011, 03:59
Re: String array sizes - by Dolby - 01.10.2011, 04:03
Re: String array sizes - by Rachael - 01.10.2011, 04:22
Re: String array sizes - by DRIFT_HUNTER - 01.10.2011, 05:07

Forum Jump:


Users browsing this thread: 1 Guest(s)