4 ms·
Wow! My gut instinct would have been to try Boehm, but I have no idea why one would prefer one GC over another with Emacs.
by fusiongyro 9y ago
Wow! My gut instinct would have been to try Boehm, but I have no idea why one would prefer one GC over another with Emacs.
- rurban 9y agoBecause Boehm is still a conservative mark & sweep, whilst a modern copying collector with nan tagging is MUCH faster. It only needs twice as much memory. The root scanning problem with nested calls causing races is known. I do have the same problem. You need to assign to volatile temps, or implement boehm-like scanning of registers. Which is not easily portable. Volatile temps are, and they are fast enough for me. Still running circles around boehm or any other m&s GC.