20 Jun
2008
20 Jun
'08
8:39 p.m.
Le vendredi 20 juin 2008 à 17:44 +0200, Amaury Forgeot d'Arc a écrit :
In short: the gc is tuned for typical usage. If your usage of python is specific, use gc.set_threshold and increase its values.
It's fine for people "in the know" who take the time to test their code using various gc parameters. But most people don't (I know I never did, and until recently I didn't even know the gc could have such a disastrous effect on performance). I don't think expecting people to tweak gc parameters when they witness performance problems is reasonable.