Re: Memory allocation performance

2008-02-04 Thread Dag-Erling Smørgrav
Julian Elischer <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav <[EMAIL PROTECTED]> writes: > > Julian Elischer <[EMAIL PROTECTED]> writes: > > > you mean FILO or LIFO right? > > Uh, no. You want to reuse the last-freed object, as it is most > >

Re: Memory allocation performance

2008-02-03 Thread Dag-Erling Smørgrav
ewly allocated object already has lines in the > > cache. It's a fairly trivial tweak to the UMA allocation code. > you mean FILO or LIFO right? Uh, no. You want to reuse the last-freed object, as it is most likely to still be in cache.