Commit afeb2be
return immediately from
Avoids hashing the input key for empty dictionaries.
Inspired by rust-lang/hashbrown#305.ht_keyindex if dictionary is empty (JuliaLang#44341)1 parent 451b7ad commit afeb2be
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
0 commit comments