Skip to content

Use absl::string_view for texture callback functions#541

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_885362825
Open

Use absl::string_view for texture callback functions#541
copybara-service[bot] wants to merge 1 commit intomainfrom
test_885362825

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 18, 2026

Use absl::string_view for texture callback functions

Replace usage of std::map in some of these callback functions with absl::flat_hash_map as well, since the latter allows for heterogeneous lookup, reducing amount of conversions needed from string_view to string.

@copybara-service copybara-service bot force-pushed the test_885362825 branch 3 times, most recently from 9c1194c to 6369f31 Compare March 20, 2026 13:21
Replace usage of `std::map` in some of these callback functions with `absl::flat_hash_map` as well, since the latter allows for heterogeneous lookup, reducing amount of conversions needed from `string_view` to `string`.

PiperOrigin-RevId: 885362825
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