[New-bugs-announce] [issue43970] Optimize Path.cwd() in pathlib
Kevin Follstad
report at bugs.python.org
Wed Apr 28 16:41:53 EDT 2021
New submission from Kevin Follstad <kfollstad at gmail.com>:
python3.10 -m timeit -r 5 -n 100000 -s 'from pathlib import Path' 'Path.cwd()'
100000 loops, best of 5: 206 usec per loop
python3.10-mypatch -m timeit -r 5 -n 100000 -s 'from pathlib import Path' 'Path.cwd()'
100000 loops, best of 5: 156 usec per loop
----------
components: Library (Lib)
messages: 392255
nosy: kfollstad
priority: normal
severity: normal
status: open
title: Optimize Path.cwd() in pathlib
type: performance
versions: Python 3.10
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43970>
_______________________________________
More information about the New-bugs-announce
mailing list