Commit Graph

431 Commits

Author SHA1 Message Date
Joel Wejdenstål 4fd07038a1
v5.4.0 2022-08-30 20:12:48 +02:00
Joel Wejdenstål f27dba3062
fmt 2022-08-30 20:09:31 +02:00
Joel Wejdenstål 342011296c
upgrade deps 2022-08-30 20:09:09 +02:00
Tom Karwowski d1f58eaf48
feat: add ReadOnlyView::par_iter() and ReadOnlyView::into_par_iter() (#223) 2022-08-30 20:08:29 +02:00
Tom Karwowski 9deeb37ccb
feat: memoize default shard amount (#222)
Use once_cell crate to memoize the value.
This doesn't add any new dependencies, as once_cell was already a subdependency. Additionally it was merged into std in nighlty and awaiting stabilization.
2022-08-30 20:05:07 +02:00
Tom Karwowski 030671060f
feat: add try_reserve method (#221) 2022-08-30 20:04:31 +02:00
Wolf Thomsen 459db7ac6f
Fix small typo in lib.rs module docstring (#209) 2022-06-06 14:09:52 +02:00
Joel dd7164dfef
Delete table.rs 2022-06-06 14:07:11 +02:00
Joel Wejdenstål 4b63e98814
Release v5.3.4 2022-05-28 13:20:30 +02:00
Joel 3236196d01
Use a proper lock implementation (#214)
* use a proper but reentrant safe lock impl

* impl downgrade
2022-05-28 13:19:37 +02:00
Konrad Borowski 5fbb68f188
Set rust-version to 1.59 (#210)
This crate uses available_parallelism which was introduced
in Rust 1.59.
2022-05-28 12:58:00 +02:00
Joel Wejdenstål 270612e3f9
Release v5.3.3 2022-05-02 17:55:25 +02:00
Joel Wejdenstål c162b21b6c
Revert "Hash keys once (#194)"
This reverts commit 3d315aa7a7.
2022-05-02 17:55:05 +02:00
Joel Wejdenstål 9c7cdc3370
Release v5.3.2 2022-04-30 23:23:31 +02:00
Vilgot Fredenberg f8ea0307a5
Tune hashbrown feature set (#205)
Removes the transient dependency on `ahash`.
2022-04-30 23:22:48 +02:00
Joel Wejdenstål 3bb58c0f37
Release v5.3.1 2022-04-29 22:04:35 +02:00
Joel 8f32487a12
improve locking (#204) 2022-04-29 22:04:14 +02:00
Joel Wejdenstål dbec6c179a
Release v5.3.0 2022-04-29 21:19:06 +02:00
Joel 7a8beaa4dc
Mapped Ref and RefMut (#203)
Co-authored-by: Artem Shein <artem.shein@esrlabs.com>
2022-04-29 21:18:34 +02:00
Joel fcaa55511a
Address major issues (#202) 2022-04-29 21:02:35 +02:00
Joel Wejdenstål 82c2323bc6
Fix lint 2022-04-29 19:12:47 +02:00
Josh Triplett 94b49a2d60
Use `std:🧵:available_parallelism` in place of num_cpus (#199) 2022-04-29 19:11:02 +02:00
Josh Triplett 288e213c78
Fix a couple of clippy "needless_borrow" issues (#200) 2022-04-27 21:04:14 +02:00
Stepan Koltsov 5e794aa789
VacantEntry/OccupiedEntry default type for S (#193) 2022-04-27 14:16:25 +02:00
Stepan Koltsov 3d315aa7a7
Hash keys once (#194) 2022-04-27 14:15:16 +02:00
Joel 0516c3cc65
Update README.md 2022-04-27 14:12:47 +02:00
xacrimon a8187ba896
Release v5.2.0 2022-03-14 22:11:37 +01:00
Leo 23f3d04335
Add check for if a shard_amount is a power of two. (#186)
Signed-off-by: Leo Lu <luyuxuanleo@gmail.com>
2022-03-01 10:26:30 +01:00
Leo 6321c886b4
Add support for setting shard amount. (#185) 2022-02-28 18:28:38 +01:00
Joel 644ccdbed3
Merge pull request #181 from xacrimon/joel/release-v5.1.0
Release v5.1.0
2022-02-06 17:52:25 +01:00
xacrimon daedb8045a
update deps + vtag 2022-02-06 17:48:39 +01:00
Joel afe293f425
Merge pull request #180 from xacrimon/acri/ref-smuggle
Resolve reference smuggling SEC fix
2022-02-06 17:43:19 +01:00
xacrimon 1f3709632d
fix rayon 2022-02-06 17:39:23 +01:00
xacrimon 2f488a0664
cleanup 2022-02-06 17:32:47 +01:00
xacrimon f01fc7580b
make explicit 2022-02-06 17:19:45 +01:00
xacrimon 45c7a3ca71
elide 2022-02-06 16:42:35 +01:00
xacrimon fbb6ffb1d7
ref smuggle 2022-02-06 16:37:18 +01:00
Joel f4daed99a1
Merge pull request #179 from xacrimon/acri/secfix
Add a send_guard feature defaulting to enabled.
2022-02-06 16:23:09 +01:00
xacrimon e530e80da0
lint + fmt 2022-02-06 16:17:38 +01:00
xacrimon 7197fa3323
doc 2022-02-06 16:15:14 +01:00
xacrimon 363f3f182e
optional send guard 2022-02-06 16:15:14 +01:00
Joel 65875265b6
Merge pull request #178 from Earthcomputer/try_lock
Add DashMap::try_get, DashMap::try_get_mut, DashMap::try_entry
2022-02-06 16:12:04 +01:00
Joe e3de359556
Add DashMap::try_get, DashMap::try_get_mut, DashMap::try_entry 2022-02-06 10:46:08 +00:00
Joel a2cff0e2f4
Merge pull request #172 from booleancoercion/patch-1
Fixed a typo
2022-02-05 13:42:06 +01:00
booleancoercion 73b5ab88d7
Fixed a typo 2022-01-18 13:00:44 +02:00
xacrimon e8e5e862fb
v5.0.0 2021-12-12 18:25:25 +01:00
Joel 0b38180cfc
Merge pull request #166 from xacrimon/joel/parking-lot
Use parking_lot for locks
2021-12-12 18:24:30 +01:00
xacrimon 38e7703c75
fix lint 2021-12-12 18:20:55 +01:00
xacrimon 47c01be318
fmt 2021-12-12 18:16:59 +01:00
xacrimon caa4096ec8
fix rayon 2021-12-12 18:16:50 +01:00