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 vstinner
Recipients Maxime Belanger, ezio.melotti, steven.daprano, vstinner
Date 2017-12-12.13:10:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513084246.77.0.213398074469.issue32285@psf.upfronthosting.co.za>
In-reply-to
Content
> However, I'm concerned by your comment that you fall back on creating a normalized copy and comparing.

The purpose of the function is to be faster than str == unicodedata.normalize(form, str). So yeah, any optimization is welcome.

But I don't bother with MAYBE suboptimal case which is implemented with: str == unicodedata.normalize(form, str). It can be optimized later, if needed.

If someone cares of performance, I will require a benchmark, since I only trust numbers :-)
History
Date User Action Args
2017-12-12 13:10:46vstinnersetrecipients: + vstinner, ezio.melotti, steven.daprano, Maxime Belanger
2017-12-12 13:10:46vstinnersetmessageid: <1513084246.77.0.213398074469.issue32285@psf.upfronthosting.co.za>
2017-12-12 13:10:46vstinnerlinkissue32285 messages
2017-12-12 13:10:46vstinnercreate