4 ms·
glib does not always use one, the default is normal malloc and it provides another allocator api as an option.
by TingPing 6y ago
glib does not always use one, the default is normal malloc and it provides another allocator api as an option.
- asveikau 6y agoYes, I figured that out from other posts on this thread (including one where I looked at g_malloc source). I think libstc++ on the other hand does or did have such a cache as an always-on thing though. So not unheard of.