emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aligned blocks management: obsolete?


From: Dmitry Antipov
Subject: Aligned blocks management: obsolete?
Date: Mon, 12 Dec 2011 12:11:48 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

Is it still required to maintain the cache of aligned blocks
to workaround poor malloc behavior? I believe an attached
example should perform well (i.e. allocate ~4K blocks without
~4K holes between them) on top of any non-ancient glibc (no
ideas about other system malloc implementations, BTW).

Dmitry

Attachment: aligned-alloc.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]