Skip to content

Further optimize Clone::clone_from#128

Merged
james7132 merged 2 commits intopetgraph:masterfrom
james7132:further-optimize-clone-from
Apr 14, 2024
Merged

Further optimize Clone::clone_from#128
james7132 merged 2 commits intopetgraph:masterfrom
james7132:further-optimize-clone-from

Conversation

@james7132
Copy link
Collaborator

Follow up to #127. This PR avoids a deallocation in the case where the backing store may need to grow.

@james7132 james7132 merged commit e69c788 into petgraph:master Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant