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

Emplace with precalculated hash might be helpful #26

Open
lvnohanyan opened this issue Sep 6, 2023 · 1 comment
Open

Emplace with precalculated hash might be helpful #26

lvnohanyan opened this issue Sep 6, 2023 · 1 comment

Comments

@lvnohanyan
Copy link

If we have precalculated hash, emplace/insert might be helpful as well?

@lucasexe
Copy link

I'd also like to have this enhancement.

Context:
I'm working in a multi-thread environment and I need to unlock the mutex as soon as possible.
Having this override for emplace/insert it would be possible to compute the hash before locking the mutex.

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