Re:Conservative GC: Is It Really That Bad?
by aidenn0 on Friday February 23, 2018 @02:16AM
(#16444785)
To be fair, I said "approximately" The cost of a nursery GC in SBCL is O(n+m) where n is the number of live objects in the nursery and m is the number of GC roots. If this code is all you are running then n will be 1, so it's just scanning the roots, which only happens when you have allocated enough integers to fill the nursery, so gets amortized across thousands of loop iterations.
[ Parent
| on HN ]
There are no comments on this comment yet.