Message308127
> 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 :-) |
|
Date |
User |
Action |
Args |
2017-12-12 13:10:46 | vstinner | set | recipients:
+ vstinner, ezio.melotti, steven.daprano, Maxime Belanger |
2017-12-12 13:10:46 | vstinner | set | messageid: <1513084246.77.0.213398074469.issue32285@psf.upfronthosting.co.za> |
2017-12-12 13:10:46 | vstinner | link | issue32285 messages |
2017-12-12 13:10:46 | vstinner | create | |
|