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

Consider adding optional template argument for custom "map" implementation and keep the default #1

Open
Alexander-Shukaev opened this issue Sep 2, 2021 · 1 comment
Assignees

Comments

@Alexander-Shukaev
Copy link

As per subject.

@jimporter
Copy link
Owner

Indeed. When most of this code was written, std::map was the only (standard) associative container with heterogeneous lookup, but as of C++20, std::unordered_map allows this too. (And there are the std::pmr types in C++17, though I'm not sure they'd be especially useful here.) And, of course, it'd be nice to be able to use some kind of LRU cache.

@jimporter jimporter self-assigned this Sep 3, 2021
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

No branches or pull requests

2 participants