Message160578
It seems to me that the proposed changes are too tricky and too dirty for such a modest gain. It seems to me, this effect can be achieved easier (special-casing "%s" and "{}" to return str(arg)?).
If you want to get really impressive results, try to compile a pattern into an optimized internal representation and cache it (as in the struct module). This completely different approach may work. |
|
Date |
User |
Action |
Args |
2012-05-13 21:18:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, mark.dickinson, pitrou, vstinner, python-dev |
2012-05-13 21:18:27 | serhiy.storchaka | set | messageid: <1336943907.11.0.590889851787.issue14744@psf.upfronthosting.co.za> |
2012-05-13 21:18:26 | serhiy.storchaka | link | issue14744 messages |
2012-05-13 21:18:26 | serhiy.storchaka | create | |
|