Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

philnik777
Copy link
Contributor

This patch adds additional overloads to map::at in case its known that the argument is transparently comparable to the key type. This avoids actually constructing the key type in some cases, potentially removing allocations.

@philnik777 philnik777 changed the title [libc++] Avoid constructing additional opjects when using map::at [libc++] Avoid constructing additional objects when using map::at Sep 10, 2025
@philnik777 philnik777 force-pushed the map_at_key_extraction branch 8 times, most recently from 3cc745a to 2a19497 Compare September 12, 2025 09:08
@philnik777 philnik777 force-pushed the map_at_key_extraction branch from 2a19497 to 9a26b72 Compare September 12, 2025 09:39
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