Yurii Karabas <1998uriyyo at gmail.com> added the comment: Jelle I can try to implement it in C to see if it will give better performance. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue44353> _______________________________________