gecode icon indicating copy to clipboard operation
gecode copied to clipboard

Add jemalloc\tcmalloc allocators

Open anovoselcev opened this issue 1 year ago • 1 comments

This patch add jemalloc and tcmalloc allocators support. I've investigated that it helps to reach better performance and memory consumption in parallel search context.

anovoselcev avatar Oct 02 '23 13:10 anovoselcev

Thanks for this proposal. I am, however, unsure if it is the right way to go, at least right now.

Personally, I've used mimalloc when using Gecode in a multi-threaded setting on a Mac, as it gives a significant performance boost. However, as Gecode is often used as a library that is built into another system, hopefully the allocator used is coming from outside of Gecode anyway.

zayenz avatar Nov 10 '23 16:11 zayenz