Skip to content

Conversation

@cbourjau
Copy link
Contributor

Description

Use std::string_view directly as key in find method of flat_hash_map. This part of the absl documentation may provide further insights: https://abseil.io/docs/cpp/guides/container#heterogeneous-lookup

Motivation and Context

We noticed this when profiling the session creation of large models (in terms of the number of nodes).

Signed-off-by: Christian Bourjau <[email protected]>
@tianleiwu
Copy link
Contributor

/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

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.

2 participants