Serhiy Storchaka added the comment: Here is a patch with unrolled loops. ---------- Added file: http://bugs.python.org/file33024/pathlib_resolve_3.patch _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19887> _______________________________________