Skip to content

Conversation

aaronfranke
Copy link
Member

@aaronfranke aaronfranke commented Oct 7, 2025

This PR makes most container copy constructors explicit. Specifically CowData, FixedVector, HashMap, HashSet, List, LocalVector, RBMap, and RBSet. These already had many places in the code where copies were implicitly happening, but now the copies are explicit.

This is most of the template containers, except for Vector, since changing that type would be a really big change and should probably get its own PR. This PR also doesn't change Array and Dictionary, which are also big changes.

@aaronfranke aaronfranke added this to the 4.x milestone Oct 7, 2025
@aaronfranke aaronfranke requested review from a team as code owners October 7, 2025 16:57
@aaronfranke aaronfranke force-pushed the container-template-explicit-copy branch from ba2cd46 to 5e36c4f Compare October 7, 2025 16:58
@aaronfranke aaronfranke force-pushed the container-template-explicit-copy branch from 5e36c4f to ae2bf33 Compare October 7, 2025 17:43
@aaronfranke aaronfranke requested a review from a team as a code owner October 7, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant