Blender Git Commit Log

Git Commits -> Revision 4f81b4b

Revision 4f81b4b by Erik Abrahamsson (master)
June 10, 2021, 00:34 (GMT)
Windows: Use TBBMalloc for GMP

TBBmalloc_proxy already takes care of any allocations
being done from MSVC compiled code, some of the dependencies
like GMP cannot be build with MSVC and we have to use
mingw to build them. mingw however links against the older
msvcrt.dll for its allocation needs, which TBBMallocProxy
does not hook.

GMP has an option to supply your own allocation functions
so we can still manually redirect them to TBBMalloc.

In a test-file with a boolean geometry node, this patch
uses 32s effective CPU time compared to 52s before.

Differential Revision: https://developer.blender.org/D11435

Reviewed by Campbell Barton, Ray Molenkamp

Commit Details:

Full Hash: 4f81b4b4ce2993d583a093f7e278c1274c1ca1cb
Parent Commit: a3226bd
Committed By: Ray molenkamp
Lines Changed: +41, -0

2 Modified Paths:

/source/creator/CMakeLists.txt (+2, -0) (Diff)
/source/creator/creator.c (+39, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021