Hacker News new | ask | show | jobs
by TingPing 1966 days ago
glib does not always use one, the default is normal malloc and it provides another allocator api as an option.
1 comments

Yes, 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.