[issue27818] Speed up number format spec parsing

Serhiy Storchaka report at bugs.python.org
Mon Aug 22 08:41:48 EDT 2016


Serhiy Storchaka added the comment:

LGTM. I expect that with the patch for issue27078 the effect of this optimization is even more significant.

Years ago I wrote much larger patch that includes similar but even more aggressive microoptimization. But the effect was not very impressive for str.format. For f-strings it should be more significant. I'm going to revive my old patch and compare it with your short patch.

----------
assignee:  -> serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27818>
_______________________________________


More information about the Python-bugs-list mailing list