This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients FFY00, brett.cannon, christian.heimes, frenzy, hroncok, vstinner
Date 2020-05-11.15:29:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589210957.09.0.628932854863.issue40495@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-05-11 15:29:17vstinnersetrecipients: + vstinner, brett.cannon, christian.heimes, hroncok, frenzy, FFY00
2020-05-11 15:29:17vstinnersetmessageid: <1589210957.09.0.628932854863.issue40495@roundup.psfhosted.org>
2020-05-11 15:29:17vstinnerlinkissue40495 messages
2020-05-11 15:29:16vstinnercreate