Dennis Sweeney <[email protected]> added the comment:
I added the cutoff for strings >= 10 characters, and I converted the PR from a
draft to "Ready to Review."
When running stringbench.py before and after the PR, I get these results:
Summary:
Unicode Before: 81.82 Bytes Before: 92.62
Unicode After: 64.70 Bytes after: 62.41
Full results here:
https://pastebin.com/raw/DChzMjhH
And on the random zipf benchmarks:
Summary:
14 cases slower (median 1.16x slower, at most 1.52x slower)
601 cases faster (median 2.15x faster, at most 21.94x faster)
Full results here:
https://pastebin.com/raw/ez6529Bp
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41972>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com