This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, Zeturic, ammar2, corona10, gregory.p.smith, josh.r, pmpp, serhiy.storchaka, tim.peters, vstinner
Date 2020-10-17.20:25:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I added the cutoff for strings >= 10 characters, and I converted the PR from a draft to "Ready to Review."

When running before and after the PR, I get these results:

    Unicode Before: 81.82   Bytes Before: 92.62 
    Unicode After:  64.70   Bytes after: 62.41

    Full results here:

And on the random zipf benchmarks: 

    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:
Date User Action Args
2020-10-17 20:25:18Dennis Sweeneysetrecipients: + Dennis Sweeney, tim.peters, gregory.p.smith, vstinner, pmpp, serhiy.storchaka, josh.r, ammar2, corona10, Zeturic
2020-10-17 20:25:18Dennis Sweeneysetmessageid: <>
2020-10-17 20:25:18Dennis Sweeneylinkissue41972 messages
2020-10-17 20:25:18Dennis Sweeneycreate