On Tuesday, 8 January 2013 at 22:19:56 UTC, Walter Bright wrote:
Interestingly, carefully written code using a GC can be *faster* than manual memory management, for a number of rather subtle reasons.

One being calling the OS to allocate memory is an expensive operation (freeing as well?). I would think a smart GC once it identifies a free memory block may not free it to the OS but hold onto it, then give it to another process when asked for memory, thereby skipping the OS step.

Reply via email to