Re: --managed-mem Enable managed memory. Used on Windows.
- Posted by SDPringle Feb 12, 2014
- 1813 views
jimcbrown said...
I think it was because the overhead of align4 made no sense on UNIX, and no one had solid statistics of the speed benefits of using managed memory at the time. This was before managed memory and align4 were separated out.
Generally speaking less code is faster but to decide this a priori is false economy. With managed memory you cache the memory in the same process. With simple malloc, the OS gets involved for each call to EMalloc and EFree. Memory wise simple malloc is more efficient. Process cycle-wise remains to be seen. Tests that prove on way over another on one machine might have opposite results on another.
Shawn Pringle