Best thing since sliced memory

Run some SMAPS measurements on the new GSlice memory allocator in glib. It is supposed to be both faster and more efficient than the current GMemChunks used all around in glib and gtk+ code.

Well, at least my measurements showed the memory consumption in the system after booting up the device increased by 600kB. All other use cases I tried also showed only increasing memory usage 🙁

OTOH rambokid mentioned GSlice enables many optimizations not done yet, so there’s still hope 🙂

1 comment so far ↓

#1 Rob on 12.13.05 at 8:40 am

Tommi, I think, by its nature, g_slice trades memory against speed. You end up with wastage as it aligns to kernal page boundaries..