GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — GH-115775: Use `__static_attributes__` to initialize shared keys by markshannon · Pull Request #118468 · python/cpython Conversation
|
|
No need for news item as it is covered by #117909 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
dedffa7 to
5032ad9
Compare
846a7ef to
a7b858b
Compare
There was an error while loading. Please reload this page.
b64de3d to
d54afaf
Compare
There was an error while loading. Please reload this page.
|
The stats are not obviously better. This PR reduces misses in Both From this, it appears that this PR does what it aims to do. It also appears that it would be worth improving our handling of shadowed attributes. I plan to fix the shadowing issue before merging this, so that it becomes a clear improvement |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Now that #123040 is fixed things look much better. Performance shows no change apart from the "go" benchmark speeds up by 35%. The "go" benchmark creates many objects before initializing them, which is a pattern that this PR allows us to optimize. The stats show a small increase in specialization of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.