Skip to content
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

Don't copy maps and sets when computing their memory usage. #4491

Merged

Conversation

zygoloid
Copy link
Contributor

@zygoloid zygoloid commented Nov 5, 2024

Also use the Impl base class to type-erase the small size of SmallVector. (I'd like to do the same for Map and Set by using MapView and SetView, but that runs into ambiguities due to BumpPtrAllocator's unconstrained converting constructor.)

Also use the `Impl` base class to type-erase the small size of
`SmallVector`.
@jonmeow jonmeow added this pull request to the merge queue Nov 5, 2024
Merged via the queue into carbon-language:trunk with commit 2bcd465 Nov 5, 2024
10 checks passed
@zygoloid zygoloid deleted the toolchain-collect-param-types branch November 20, 2024 18:38
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.

2 participants