That’s also work bookmarking as a great illustration of why programmers should instrument and profile code instead of guessing what optimizations should work. The author, who is a very experienced programmer, was getting the intuitive choices wrong. Switching to instrumenting the code showed exactly where the problems were. That let the author make better choices for optimization that actually worked.
Another case of using “the null garbage collector” is (was?) the dmd compiler for D.
That’s also work bookmarking as a great illustration of why programmers should instrument and profile code instead of guessing what optimizations should work. The author, who is a very experienced programmer, was getting the intuitive choices wrong. Switching to instrumenting the code showed exactly where the problems were. That let the author make better choices for optimization that actually worked.
Previously: https://lobste.rs/s/sykxaw/ultimate_garbage_collection