KDevVarLengthArray still required?

David Nolden zwabel at googlemail.com
Fri Jan 15 20:55:09 UTC 2010


Am Dienstag 12 Januar 2010 23:38:27 schrieb Milian Wolff:
> I thought mem-pools could use many blocks of a given size, i.e. exactly the
> difference? I mean malloc/realloc takes one sequential chunk of memory of
> requested size, no? And with a pool, when one needs more space, one can
>  simple add a block and store the stuff there instead of realloc'ing all
>  the existing stuff. Or am I mixing things up?

Well yes, that can be done. But I don't believe all that stuff makes a very 
big difference in comparison to the one-block case.

Greetings, David




More information about the KDevelop-devel mailing list