The debug does the good practice of filling up memory with defined values when memory is allocated or freed with FMallocTBB. While that is fine for debugging, but it is pretty expensive when it comes to cooking on a development build. When cooking a simple scene that’s already cooked, the CPU time for memset went down from 927.24ms to 29.13ms, and it fact it was the top hotspot.
Don’t you think it would be better to keep the memory fill only for debug builds?
Thanks.

