Blender Git Loki

Git Commits -> Revision 258fc99

Revision 258fc99 by Erik Abrahamsson (soc-2021-curves)
June 21, 2021, 14:31 (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:

Reviewed by Campbell Barton, Ray Molenkamp

Commit Details:

Full Hash: 258fc990f724c90c64e31b13a0a12c338a3492e5
Parent Commit: d3775a0
Committed By: Dilith Jayakody
Lines Changed: +41, -0

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021