buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Ref counting vs GC

Open giann opened this issue 3 years ago • 2 comments

See if ref counting could be better than GC.

To avoid freeing too often, we could table the freeing for when a threshold of garbage is reached.

giann avatar Dec 28 '22 00:12 giann

Epic GC discussion on the similarly scoped Mun lang here: https://github.com/mun-lang/mun/issues/206

erlend-sh avatar Feb 16 '23 10:02 erlend-sh

Epic GC discussion on the similarly scoped Mun lang here: https://github.com/mun-lang/mun/issues/206

I like the idea of "running gc every frame". That could translate to running small sweep more often rather than potentially big sweeps depending on a threshold.

giann avatar Sep 25 '23 19:09 giann