Files
cpython/Modules
Miss Islington (bot) 9265a87742 bpo-37587: Make json.loads faster for long strings (GH-14752)
When scanning the string, most characters are valid, so
checking for invalid characters first means never needing
to check the value of strict on valid strings, and only
needing to check it on invalid characters when doing
non-strict parsing of invalid strings.

This provides a measurable reduction in per-character
processing time (~11% in the pre-merge patch testing).
(cherry picked from commit 8a758f5b99)

Co-authored-by: Marco Paolini <mpaolini@users.noreply.github.com>
2019-07-30 07:37:28 -07:00
..
2019-07-05 15:00:43 -07:00
2019-06-18 21:55:59 -07:00
2016-10-18 16:29:27 +02:00
2016-10-18 16:29:27 +02:00

Source files for standard library extension modules,
and former extension modules that are now builtin modules.