Ticket #123 (closed defect: fixed)
Regression due to PyDict_Next optimization
| Reported by: | jasone | Owned by: | jasone |
|---|---|---|---|
| Priority: | major | Milestone: | 0.11 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description
These changesets introduce a code generation bug that causes repeated dictionary iteration to fail (using Python 2.6 on 32- and 64-bit Ubuntu 8.04):
changeset: 1344:7a102bc50f8f user: Stefan Behnel <scoder@users.berlios.de> date: Sun Nov 16 22:45:33 2008 +0100 summary: integrate new iter-dict transform changeset: 1343:db3eb81258f4 user: Stefan Behnel <scoder@users.berlios.de> date: Sun Nov 16 22:45:12 2008 +0100 summary: new transform that converts for-in-dict.iter*() into a while-loop over PyDict_Next(), which makes the loop 30-50% faster
The attached test case demonstrates the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

