Re:An in-depth look at OCaml’s new “best-fit” garbage collec...
by exsf0859 on Tuesday March 24, 2020 @11:32PM
(#22681727)
The problem is that with most GC algorithms 1% of the frames take 2x (or even 20x) as long, not that individual frame times vary by 1%.
Re:An in-depth look at OCaml’s new “best-fit” garbage collec...
by loopback_device on Tuesday March 24, 2020 @10:36PM
(#22681503)
How do you allocate a 1% buffer of time? The GC issue in games (or any other timing sensitive application) is about the "world freezing", not memory. Which is why incremental GC is a thing. At best, you're borrowing time.
It's not a very satisfactory answer (and there are likely much better tradeoffs to be made), but given the 10x and 1% comparison (not entirely apples to apples though) the comment sounds a bit more interesting.