-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
gh-114264: Optimize performance of copy.deepcopy by adding a fast path for atomic types #114266
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
serhiy-storchaka
merged 23 commits into
python:main
from
eendebakpt:deepcopy_atomic_types
Jun 7, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
9990245
Optimize performance of copy.deepcopy by adding a fast path for atomi…
eendebakpt 06f1980
match order with main
eendebakpt dd9fabf
📜🤖 Added by blurb_it.
blurb-it[bot] becbb59
format news entry
eendebakpt 339c2b9
put d variable back
eendebakpt 89ecad1
Merge branch 'deepcopy_atomic_types' of github.com:eendebakpt/cpython…
eendebakpt 9aacf87
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 5197f94
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 18914f3
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 8f294c7
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 3b57fc1
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 53d63a7
Merge branch 'main' into deepcopy_atomic_types
eendebakpt eb8e6ba
improve performance of _deepcopy_list with a list comprehension
eendebakpt e468b6c
avoid generation of exception in _deepcopy_tuple
eendebakpt 2b4abe6
Merge branch 'main' into deepcopy_atomic_types
eendebakpt e3310f5
revert comprehension changes
eendebakpt 1186a5b
Merge branch 'deepcopy_atomic_types' of github.com:eendebakpt/cpython…
eendebakpt ce7273b
Merge branch 'main' into deepcopy_atomic_types
eendebakpt 4bc74d3
Update Lib/copy.py
eendebakpt d69d8da
Merge branch 'main' into deepcopy_atomic_types
eendebakpt c66b24d
Apply suggestions from code review
eendebakpt 142b0fc
Merge branch 'main' into deepcopy_atomic_types
eendebakpt d6fa670
Merge branch 'main' into deepcopy_atomic_types
eendebakpt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update Lib/copy.py
- Loading branch information
commit 4bc74d3fda5c39bcecdd5bebcf909477dcc4a6da
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.