[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: KDevVarLengthArray still required?
From:       David Nolden <zwabel () googlemail ! com>
Date:       2010-01-15 20:55:09
Message-ID: 201001152155.09882.zwabel () googlemail ! com
[Download RAW message or body]

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

-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic