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 <1602966318.73.0.319824401834.issue41972@roundup.psfhosted.org>
In-reply-to
Content
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
History
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: <1602966318.73.0.319824401834.issue41972@roundup.psfhosted.org>
2020-10-17 20:25:18Dennis Sweeneylinkissue41972 messages
2020-10-17 20:25:18Dennis Sweeneycreate