Re:All About Libpas, Phil's Super Fast Malloc
by KerrAvon on Wednesday June 01, 2022 @03:23PM
(#31586731)
What's the workload where you found that to be the case? The system allocator is heavily tuned for general use, and should be very difficult to beat -- generally.
[ Parent
| on HN ]
Re:All About Libpas, Phil's Super Fast Malloc
by IshKebab on Wednesday June 01, 2022 @04:50PM
(#31587900)
It was a non-traditional compiler written in C++.
> The system allocator is heavily tuned
Perhaps but it probably has more constraints than a custom allocator too, e.g. backwards compatibility with software that unwittingly depends on its exact behaviour.
I found a discussion of this where people reported various speedups (10%, 100%, 300%) on Mac by switching to a custom allocator: https://news.ycombinator.com/item?id=29068828
I'm sure there are better benchmarks if you Google it.