Skip to content

AMREX_ENUM: Use std::unordered_map for cache#4655

Closed
WeiqunZhang wants to merge 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:enum_umap
Closed

AMREX_ENUM: Use std::unordered_map for cache#4655
WeiqunZhang wants to merge 1 commit intoAMReX-Codes:developmentfrom
WeiqunZhang:enum_umap

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

@WeiqunZhang WeiqunZhang commented Sep 11, 2025

Use std::unordered_map instead of std::vector for caching.

Follow up to #4643

Use std::unordered_map instead of std::vector for caching.
@ax3l ax3l mentioned this pull request Sep 11, 2025
5 tasks
@ax3l
Copy link
Copy Markdown
Member

ax3l commented Sep 11, 2025

Thank you!

Cc @dpgrote

@ax3l
Copy link
Copy Markdown
Member

ax3l commented Sep 11, 2025

@dpgrote on Slack:

They all work well and take about the same time, about half the time of the [#4643] version.

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