-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Hidden KeyRef type complicates key lookup #2
Comments
Thanks for pointing it out! |
This is needed for rustls. @al8n would you like to take a look on how to solve it again? |
Sorry for the late fixes. It was fixed by the new release |
Because keys are stored inside a
KeyRef
type,.get()
can be complicated or inefficient. For instance, if I have a cache which stores the key as aVec<u8>
, I'd expect to be able to lookup a value a in the cache using a&[u8]
, but that's not possible:The text was updated successfully, but these errors were encountered: