Commit graph

50 commits

Author SHA1 Message Date
Gwilym Inzani 7c6eaf324b Release v0.18.0 2023-10-31 20:35:14 +00:00
Gwilym Inzani 534a357d85 Add another missing import 2023-10-07 20:39:13 +01:00
Gwilym Inzani 845e3d027a Remove pointless import 2023-10-07 20:27:36 +01:00
Gwilym Inzani 426890e856 Don't manually implement hash_one 2023-10-07 20:26:10 +01:00
Gwilym Inzani 53685b0410 Release v0.17.1 2023-10-05 22:18:04 +01:00
Gwilym Inzani b6916d7e74 Release v0.17.0 2023-10-03 22:33:10 +01:00
Corwin a7f9fdf011
Release v0.16.0 2023-07-18 18:55:12 +01:00
Gwilym Inzani 9ec0836da9 Put the capacity check back in 2023-05-23 21:29:05 +01:00
Gwilym Inzani d393ad7e99 Bypass some duplicated work if you use the entry API 2023-05-23 21:10:27 +01:00
Corwin 37c30586c3
remove profiles from some projects
these projects are not tested or run on the gba or
are dependencies and therefore follow the binaries settings
2023-05-23 20:10:21 +01:00
Gwilym Inzani d9803fb873 Fix doc links 2023-05-16 20:44:07 +01:00
Gwilym Inzani 362bfc1430 Explicity wrap the multiplication 2023-05-16 20:18:08 +01:00
Gwilym Inzani 70e2927d1e GBA hated this bit_mix function 2023-05-10 19:21:07 +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 1fa4d8e970 Rename the tests to make them easier to compare 2023-05-10 16:20:58 +01:00
Gwilym Inzani 626e4da8e4 Massively improve high bit benchmarks with some bit mixing 2023-05-10 16:14:04 +01:00
Gwilym Inzani 82855ac66b Remove unsafe from clone 2023-05-10 16:02:21 +01:00
Gwilym Inzani 925baced46 Use backing_vec_size rather than nodes.len() 2023-05-10 16:01:24 +01:00
Gwilym Inzani c5341cb5fa Add benchmarks 2023-05-10 16:01:16 +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 05f387e41f Don't do unsafe things with entries 2023-05-09 22:00:13 +01:00
Gwilym Inzani 722deafc2f Add safety comments 2023-05-09 21:55:14 +01:00
Gwilym Inzani 35061ffb6a deny(unreachable_pub) 2023-05-09 21:46:57 +01:00
Gwilym Inzani 68e68386a1 Improve implementation of next 2023-05-09 21:44:14 +01:00
Gwilym Inzani b3e56e88f2 Use ? rather than if let 2023-05-09 21:39:35 +01:00
Gwilym Inzani 9205ba1d0d Simplify get_mut implementation 2023-05-09 21:37:52 +01:00
Gwilym Inzani 917163f88b Key value ref unchecked 2023-05-09 21:37:20 +01:00
Gwilym Inzani dc8589479e We know the location is correct here 2023-05-09 21:34:16 +01:00
Gwilym Inzani 4d4ca80004 Add a bit of unsafe in the entry API 2023-05-09 21:33:20 +01:00
Gwilym Inzani 6f1f7811e2 Copy standard library tests 2023-05-09 21:12:28 +01:00
Gwilym Inzani f34f42ab4c Implement debug 2023-05-09 21:12:22 +01:00
Gwilym Inzani e9f6120b4c Implement Eq and PartialEq 2023-05-09 21:09:44 +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
Gwilym Inzani 5e04e8c03f Extract node module 2023-05-09 20:43:23 +01:00
Corwin 400abe5b31
Release v0.15.0 2023-04-25 21:51:29 +01:00
Corwin febee09e3a
add toolchain file 2023-04-25 21:43:17 +01:00
Gwilym Inzani 9835f81b5f Maybe make the build faster by using the same settings for all crates 2023-04-25 20:22:44 +01:00
Gwilym Inzani 4cace7b01d Also for remove 2023-04-23 18:45:39 +01:00
Gwilym Inzani 11b98eab29 Give index and get_mut the Borrow treatment 2023-04-23 18:44:03 +01:00
Gwilym Inzani 39edc4ab36 Also do Borrow shenanigans for get and get_key_value 2023-04-23 18:40:13 +01:00
Gwilym Inzani 150b1a3078 Add documentation example and add Borrow stuff for easier contains_key 2023-04-23 18:37:30 +01:00
Gwilym Inzani 69687aa519 Import all the denys from the main crate 2023-04-23 17:58:45 +01:00
Gwilym Inzani 4ade408d30 Avoid the really slow test under miri 2023-04-23 17:43:30 +01:00
Gwilym Inzani d80e3f876e Extract agb hashmap to its own crate 2023-04-23 17:39:00 +01:00