Hacker News new | ask | show | jobs
by bogomipz 3513 days ago
The post states:

"in particular, tcmalloc and ptmalloc2 allocators can take as little as 200-500 CPU cycles for allocation/deallocation of a small object"

Does anyone how many cycles the regular glibc malloc() takes?

1 comments

I believe ptmalloc2 is glibc's malloc.
Yes you are correct. Does anyone know how many cycles that is comparatively?