slice allocator misuse?

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Aug 9 21:24:05 CEST 2006


Benedikt Meurer wrote:
> No. g_slice_alloc() is not necessarily faster than malloc(), atleast
> with some malloc() implementations. But the advantage of g_slice_alloc()
> is that memory is garantied to be aligned at sizeof(void*) [...]

That should read: 2 * sizeof(void*).

Benedikt



More information about the Xfce4-dev mailing list