Skip to content

maps: optimized Clone with swissmaps #70836

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

Closed
prattmic opened this issue Dec 13, 2024 · 1 comment
Closed

maps: optimized Clone with swissmaps #70836

prattmic opened this issue Dec 13, 2024 · 1 comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsFix The path to resolution is known, but the work has not been done. Performance
Milestone

Comments

@prattmic
Copy link
Member

Prior to swissmaps, we had an optimized implementation of maps.Clone that reached into the internals to copy directly between the backing store of each map.

That was dropped when implementing swissmaps, but could be brought back.

@prattmic prattmic added Performance NeedsFix The path to resolution is known, but the work has not been done. compiler/runtime Issues related to the Go compiler and/or runtime. labels Dec 13, 2024
@prattmic prattmic added this to the Backlog milestone Dec 13, 2024
@prattmic prattmic mentioned this issue Dec 13, 2024
5 tasks
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/660175 mentions this issue: maps: implement faster clone

@github-project-automation github-project-automation bot moved this from Todo to Done in Go Compiler / Runtime Mar 27, 2025
@dmitshur dmitshur modified the milestones: Backlog, Go1.25 Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsFix The path to resolution is known, but the work has not been done. Performance
Projects
Development

No branches or pull requests

3 participants