New submission from Stefan Behnel:

I noticed that quite some time during number formatting is spent parsing the 
format spec. The attached patch speeds up float formatting by 5-15% and integer 
formatting by 20-30% for me overall when using f-strings (Ubuntu 16.04, 64bit).

----------
components: Interpreter Core
files: faster_format.patch
keywords: patch
messages: 273243
nosy: scoder
priority: normal
severity: normal
status: open
title: Speed up number format spec parsing
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file44173/faster_format.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27818>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to