Uh oh!
There was an error while loading. Please reload this page.
gh-118013: Use weakrefs for the cache key in inspect._shadowed_dict - #118202
Conversation
carljm
left a comment
There was a problem hiding this comment.
Looks good to me, once we get news/tests/benchmarks.
Uh oh!
There was an error while loading. Please reload this page.
AlexWaygood
commented
Apr 24, 2024
BenchmarksAll timings done with a fresh PGO-optimised build on
|
AlexWaygood
commented
Apr 24, 2024
(The |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks @AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…_dict` (pythonGH-118202) (cherry picked from commit 8227883) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-118232 is a backport of this pull request to the 3.12 branch. |
Slower than
main, but significantly faster than a straight revert of #104267.