All About Libpas, Phil's Super Fast Malloc
1–10 of 87 posts
Re: All About Libpas, Phil's Super Fast Malloc
#2https://chromium.googlesource.com/chromium/src/+/master/base...
Re: All About Libpas, Phil's Super Fast Malloc
#3Re: All About Libpas, Phil's Super Fast Malloc
#4I wonder how this compares to jemalloc, mimalloc, snmalloc?
I believe bmalloc was previously compared against jemalloc and tcmalloc, also using Safari workloads, and bmalloc was significantly faster at the time.
Re: All About Libpas, Phil's Super Fast Malloc
#5This document is incredible!
Re: All About Libpas, Phil's Super Fast Malloc
#6> Consequently, passing a function pointer (or struct of function pointers), where the pointer points to an always_inline function and the callee is always_inline results in specialization akin to template monomorphization. This works to any depth; the compiler won't be satisfied until there are no more always_inline function calls. This fortuitous development in compilers allowed me to write very nice template code…
Re: All About Libpas, Phil's Super Fast Malloc
#7Re: All About Libpas, Phil's Super Fast Malloc
#8I thought this was super interesting. Seems like a very nice technique for when you use function pointers in C for stuff like sort comparison. There was an earlier thread about PostgreSQL that discussed how they created multiple sort functions to avoid the overhead of a indirect function pointer call when sorting things like integers where the function call dwarfs the comparison cost. This seems like a technique that could have been used to avoid duplicating the sorting functions while still getting the benefits.
Re: All About Libpas, Phil's Super Fast Malloc
#9I'm always suspicious of things that are named after the maker.
Re: All About Libpas, Phil's Super Fast Malloc
#10I'm always suspicious of things that are named after the maker.