Commit graph

14 commits

Author SHA1 Message Date
Corwin a2c127b72b
pull out allocator_api feature 2024-05-14 22:38:42 +01:00
Corwin b316ce2cbc
remove distance_histogram 2024-05-14 22:35:39 +01:00
Gwilym Inzani a4a2856cb7 Stop searching if we've already overshot where it could be 2023-05-10 19:20:49 +01:00
Gwilym Inzani bb5bd04b5f Make clear faster 2023-05-10 18:13:32 +01:00
Gwilym Inzani 943fd1154f Use const fn to make resizes a bit faster 2023-05-10 18:08:39 +01:00
Gwilym Inzani 65dd1341e5 Change hash mixing and add distance_histogram method 2023-05-10 17:49:48 +01:00
Gwilym Inzani 925baced46 Use backing_vec_size rather than nodes.len() 2023-05-10 16:01:24 +01:00
Gwilym Inzani 7873f9ed5c More unsafe where needed 2023-05-09 22:43:06 +01:00
Gwilym Inzani f530276638 Use a concrete type for hash 2023-05-09 22:38:04 +01:00
Gwilym Inzani 7b8ad58906 Extend clippy lints 2023-05-09 22:10:53 +01:00
Gwilym Inzani b3e56e88f2 Use ? rather than if let 2023-05-09 21:39:35 +01:00
Gwilym Inzani 4d4ca80004 Add a bit of unsafe in the entry API 2023-05-09 21:33:20 +01:00
Gwilym Inzani 5decb42cf0 Implement clone for hashmap 2023-05-09 21:05:00 +01:00
Gwilym Inzani 1cdf23683a Extract node_storage as well 2023-05-09 20:57:33 +01:00