X Tutup
The Wayback Machine - https://web.archive.org/web/20220923092948/https://github.com/python/cpython/issues/96954
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port PyPy's new unicode name db format to optimize binary CPython size #96954

Open
isidentical opened this issue Sep 20, 2022 · 0 comments
Open
Labels
type-feature A feature request or enhancement

Comments

@isidentical
Copy link
Sponsor Member

isidentical commented Sep 20, 2022

Feature or enhancement

PyPy has a new algorithm that might help us reduce the unicode name db size of our binaries (which would be helpful on our way forward to better WASM compatibility [through reduced download sizes]). For more details, you can see the new implementation in PyPy side by @cfbolz.

CC: @ambv @cfbolz

We'll probably start with missing tests, and then build out a prototype to see how feasible it is and will share numbers on how much it would help before going forward with the implementation.

@isidentical isidentical added the type-feature A feature request or enhancement label Sep 20, 2022
isidentical added a commit to isidentical/cpython that referenced this issue Sep 20, 2022
They were undertested, and since python#96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
isidentical added a commit to isidentical/cpython that referenced this issue Sep 20, 2022
They were undertested, and since python#96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
ambv pushed a commit that referenced this issue Sep 21, 2022
They were undertested, and since #96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
ambv pushed a commit to ambv/cpython that referenced this issue Sep 21, 2022
…H-96955)

They were undertested, and since pythonGH-96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
(cherry picked from commit 5a32eec)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
ambv pushed a commit to ambv/cpython that referenced this issue Sep 21, 2022
…H-96955)

They were undertested, and since pythonGH-96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
(cherry picked from commit 5a32eec)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
ambv pushed a commit that referenced this issue Sep 21, 2022
They were undertested, and since GH-96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
(cherry picked from commit 5a32eec)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
ambv added a commit that referenced this issue Sep 21, 2022
…-96992)

They were undertested, and since GH-96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
(cherry picked from commit 5a32eec)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
ambv added a commit that referenced this issue Sep 21, 2022
…-96991)

They were undertested, and since GH-96954 might involve a
rewrite of this part of the code we want to ensure that
there won't be any behavioral change.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
(cherry picked from commit 5a32eec)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant
X Tutup