Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is nedmalloc faster than all other memory allocators?

faster memory nedmalloc
0
Posted

Is nedmalloc faster than all other memory allocators?

0

No, there are faster ones, especially for specialised circumstances e.g.; tcmalloc which never returns memory to the system and so can forego free space coalescing (tcmalloc isn’t suitable as a general purpose allocator). However, nedmalloc is an excellent general-purpose allocator and it is based on dlmalloc, one of the most tried & tested memory allocators available as it is the core allocator in Linux. If you use nedmalloc, you will never be far from the best performing specialised allocator. As you might note in the real world benchmarks above, you get severely diminishing returns to allocator improvement once they get into a certain performance range.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123