PEP 657: Fix incorrect percentage for standard library pyc size increase (#1953)

This commit is contained in:
Ammar Askar 2021-05-09 14:10:58 -04:00 committed by GitHub
parent 3e852b2176
commit 862a3836ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ end offset) for every bytecode instruction.
As an illustrative example to gauge the impact of this change, we have As an illustrative example to gauge the impact of this change, we have
calculated that this change will increase the size of the standard librarys calculated that this change will increase the size of the standard librarys
pyc files by 22% (6MB) from 70MB to 76MB. The overhead in memory usage will be pyc files by 22% (6MB) from 28.4MB to 34.7MB. The overhead in memory usage will be
the same (assuming the *full standard library* is loaded into the same the same (assuming the *full standard library* is loaded into the same
program). We believe that this is a very acceptable number since the order of program). We believe that this is a very acceptable number since the order of
magnitude of the overhead is very small, especially considering the storage magnitude of the overhead is very small, especially considering the storage