Message120563
Another optimization idea: detect local dictionaries that are only ever used in non-mutating ways, and convert them to constants, rather than rebuilding the dict from scratch each time.
See e.g. htmlparser.py:adjustSVGAttributes etc within the bm_html5lib benchmark (though this doesn't seem to be ported to py3k yet) |
|
Date |
User |
Action |
Args |
2010-11-06 00:10:15 | dmalcolm | set | recipients:
+ dmalcolm, jhylton, nnorwitz, rhettinger, belopolsky, sdahlbac, titanstar, thomaslee, benjamin.peterson |
2010-11-06 00:10:15 | dmalcolm | set | messageid: <1289002215.12.0.462304330739.issue1346238@psf.upfronthosting.co.za> |
2010-11-06 00:10:11 | dmalcolm | link | issue1346238 messages |
2010-11-06 00:10:11 | dmalcolm | create | |
|