Reducing Memory Usage in Ruby
https://tenderlovemaking.com/2018/01/23/reducing-memory-usage-in-ruby.html [tenderlovemaking.com]
2018-01-24 01:03
I’ve been working on building a compacting garbage collector in Ruby for a while now, and one of the biggest hurdles for implementing a compacting GC is updating references. For example, if Object A points to Object B, but the compacting GC moves Object B, how do we make sure that Object A points to the new location?
source: HN