Michael Van Canneyt wrote:
People that have large lists know this and take care of it.
What is more, I think that 1 large memory block (an array) is much more
efficient memory wise than many small blocks.
This is true in some cases; VMs and scripting engines (such as
SpiderMonkey) use this technique. However, when the list size is
underestimated and has to grow it can be a huge detriment to performance
and memory efficiency.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel