-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-46845: Reduce dict size when all keys are Unicode. #31564
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
Conversation
When all keys are unicode, dict don't store their hash in entries.
pyperformance (with --enable-optimizations --with-lto): Result
Benchmark hidden because not significant (8): django_template, html5lib, nqueens, pathlib, pickle_pure_python, tornado_http, xml_etree_parse, xml_etree_iterparse |
maxrss(KB) of
|
508b7be
to
0cfec8c
Compare
This PR includes fixing dict_merge, dict_keys, dict_values, and dict_items don't respect order of split table. |
Thanks for fixing the regressions in split table ordering. |
https://bugs.python.org/issue46845