[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d60f9d9983bb by Antoine Pitrou in branch 'default': Issue #11856: Speed up parsing of JSON numbers. http://hg.python.org/cpython/rev/d60f9d9983bb -- nosy: +python-dev ___ Python tracker

[issue11856] Optimize parsing of JSON numbers

2011-04-25 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Patch seems OK. Please, commit. -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing

[issue11856] Optimize parsing of JSON numbers

2011-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Cleaned up patch. -- Added file: http://bugs.python.org/file21686/jsonnumbers2.patch ___ Python tracker ___ ___

[issue11856] Optimize parsing of JSON numbers

2011-04-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11856] Optimize parsing of JSON numbers

2011-04-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : In Python 3.x, parsing JSON numbers involve calling PyLong_FromUnicode or PyFloat_FromString with an unicode object. These functions are quite costly because they call PyUnicode_TransformDecimalToASCII(). But JSON numbers are always pure ASCII. This patch d