Re:Shaving 40% Off Google’s B-Tree Implementation with Go Ge...
by adgjlsfhk1 on Wednesday September 20, 2023 @01:11AM
(#37580574)
Objects on the stack don't participate in the GC (technically they're GC roots). Half of the reason you want to be able to put variables on the stack is because the stack variables are managed by lifetime and therefore the GC doesn't have to collect them.
[ Parent
| on HN ]
There are no comments on this comment yet.