HUGE performance enhancement for global_replace()
Bug #491708 reported by
Daniel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mocker |
Fix Released
|
Undecided
|
Gustavo Niemeyer |
Bug Description
While profiling my tests (they were taking too long to run) the profiler showed that dict.items() was taking a lot if time in the slowest tests. Incidentally mocker's global_replace() function calls referrer.items(), which was causing the problem in my case. When I changed that to referrer.
Changed in mocker: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
That's fixed in trunk for a while, but unreleased unfortunately. Will be out in the next release in a moment.