|
|
|
|
|
by flukus
3396 days ago
|
|
> If I were to run a performance-critical application, I'd definitely tune the GC accordingly. But you have to tune it for the performance of the whole application (AFAIK), you can't tune it for an individual algorithm like you can with c. It's a one size fits all approach. |
|
2. Many GCs allow you to tune performance for individual computations. For example, Erlang allows you to basically start a new lightweight process with a heap large enough so that collection isn't needed and to throw it away at the end; OCaml's GC parameters can be changed while the program is running.
[1] https://news.ycombinator.com/item?id=13747876