STINNER Victor <[email protected]> added the comment:
Currently, it's possible to implement this optimization using the Unix command
"hardlink". Example:
hardlink -c -v /usr/lib64/python3.8/__pycache__/*.pyc
On my Fedora 32, this command says:
Directories: 1
Objects: 520
Regular files: 519
Comparisons: 133
Linked: 133
Saved: 2220032
For example, string.cpython-38.pyc and string.cpython-38.opt-1.pyc become hard
links.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com