2 ms·
Sure, let's benchmark it :) It is consistently around 8% to 15% faster on 3.10.12 and 3.11 for me. On 3.12.5 (latest) I seem to get the same result. https://w
by winrid 2y ago
Sure, let's benchmark it :)
It is consistently around 8% to 15% faster on 3.10.12 and 3.11 for me. On 3.12.5 (latest) I seem to get the same result.
https://www.online-python.com/B6AgKW5zod https://www.online-python.com/B6AgKW5zod
(please copy the code to your local to not ddos this site :D)
- otteromkram 2y agoI agree with you. It's a weird quirk of Python where localization is more efficient.