4 ms·
I've used jemalloc in every game engine I've written for years. It's just the thing to do. WAY faster on win32 than the default allocator. It's also nice to hav
by dazzawazza 1y ago
I've used jemalloc in every game engine I've written for years. It's just the thing to do. WAY faster on win32 than the default allocator. It's also nice to have the same allocator across all platforms.
I learned of it from it's integration in FreeBSD and never looked back.
jemalloc has help entertained a lot of people :)
- Iwan-Zotow 1y ago+1 windows def allocator is pos. Jemalloc rules
- ahartmetz 1y ago>windows def allocator is pos Wow, still? I remember allocator benchmarks from 10-15 years ago where there were some notable differences between allocators... and then Windows with like 20% the performance of everything else!
- ComputerGuru 1y agoIt’s improved considerably since.
- int_19h 1y ago> windows def allocator Which one of them? These days it could mean HeapAlloc, or it could mean malloc from uCRT.
- carey 1y agomalloc in uCRT just calls HeapAlloc, though? You can see the code in ucrt\heap\malloc_base.cpp if you have the Windows SDK installed. Programs can opt in to the _segment_ heap in their manifest, but it’s not necessarily any faster.