Message161324
Okay, found it. The problem is _PyDict_MaybeUntrack() is potentially O(n), so calling it in every GC collection can produce quadratic runtimes when a dict is building up. Attached patch (for 3.3) only calls it in the older collections. Not sure this should be backported to 2.7/3.2. |
|
Date |
User |
Action |
Args |
2012-05-22 05:26:18 | pitrou | set | recipients:
+ pitrou, stw |
2012-05-22 05:26:18 | pitrou | set | messageid: <1337664378.73.0.0105946304459.issue14775@psf.upfronthosting.co.za> |
2012-05-22 05:26:18 | pitrou | link | issue14775 messages |
2012-05-22 05:26:17 | pitrou | create | |
|