8000 gh-119786: Add InternalDocs/qsbr.md. by nascheme · Pull Request #135411 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-119786: Add InternalDocs/qsbr.md. #135411

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

Merged
merged 10 commits into from
Jun 23, 2025
Merged
Prev Previous commit
Next Next commit
Update InternalDocs/qsbr.md
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
nascheme and kumaraditya303 authored Jun 13, 2025
commit def94947a65f52e7d0ff448e524d69a0955840a9
2 changes: 1 addition & 1 deletion InternalDocs/qsbr.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mechanism to determine when it is safe to free the list's old backing array.

Specific use cases for QSBR include:

* Dictionary keys (PyDictKeysObject) and list arrays (ob_item): When a
* Dictionary keys (PyDictKeysObject) and list arrays (_PyListArray): When a
dictionary or list that may be shared between threads is resized, we use QSBR
to delay freeing the old keys or array until it's safe. For dicts and lists
that are not shared, their storage can be freed immediately upon resize.
Expand Down
Loading
0