8000 gh-107089: Improve Shelf.clear method performance by jtcave · Pull Request #107090 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107089: Improve Shelf.clear method performance #107090

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 4 commits into from
Jul 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix whitespace
  • Loading branch information
jtcave committed Jul 28, 2023
commit d90b207029f30c4be77f4d31cb0ca116fe99bd84
1 change: 1 addition & 0 deletions Lib/shelve.py
6C7A
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def sync(self):
if hasattr(self.dict, 'sync'):
self.dict.sync()


class BsdDbShelf(Shelf):
"""Shelf implementation using the "BSD" db interface.

Expand Down
0