2 ms·
I suspect quite strongly in this case that the correct "fix" is to do nothing. What about a fix that gives the user optional control over the thresholds, or ev
by nkurz 9y ago
I suspect quite strongly in this case that the correct "fix" is to do nothing.
What about a fix that gives the user optional control over the thresholds, or even just a hint as to the desired behavior? Keep the defaults as they are, but add a “pragma” that would set the minimum threshold for GC? Or it could go a long way just to have an option to set a minimum time between collections. While it could easily make things worse for certain situations, I much prefer the option to hang myself over an immutable default that periodically does so without my input or consent.