Message413245
Sorry, I should have been more clear: I am including the initial costs of importing stringprep and unicodedata. On my system:
$ python3 -c "import time; start = time.time(); r = 'a'.encode('idna'); elapsed = time.time() - start; print(elapsed)"
0.0053806304931640625
So the earlier measurement of 15 milliseconds was excessive (I'm not sure what happened) but it's the right order of magnitude: I can reproduce 5 milliseconds reliably. |
|
Date |
User |
Action |
Args |
2022-02-14 18:24:22 | slingamn | set | recipients:
+ slingamn, christian.heimes |
2022-02-14 18:24:22 | slingamn | set | messageid: <1644863062.69.0.138675044387.issue46750@roundup.psfhosted.org> |
2022-02-14 18:24:22 | slingamn | link | issue46750 messages |
2022-02-14 18:24:22 | slingamn | create | |
|