julia
a2e4226d
- return immediately from `ht_keyindex` if dictionary is empty (#44341)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
4 years ago
return immediately from `ht_keyindex` if dictionary is empty (#44341) Avoids hashing the input key for empty dictionaries. Inspired by rust-lang/hashbrown#305.
References
#44341 - Don't hash the key if dictionary is empty
Author
KristofferC
Parents
2e2c16a4
Loading