[fpc-devel] TList or TFPList - a Linked list ?
whoelse at sterlingbates.com
Wed Dec 14 22:19:01 CET 2005
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.
More information about the fpc-devel