sharded-slab
A lock-free concurrent slab.
0.1.7
504M downloads/mo
#217 most downloaded on crates.io
hawkw/sharded-slab
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.9 years
Most releases are documented
notes for 13 of 15 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
17 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
17 releases · Oct 2019 to Oct 2023Releases
latest 17-
0.1.704 Oct 2023 -
0.1.627 Sep 2023 -
0.1.528 Aug 2023 withdrawnRelease notes
Open source →Bug Fixes
0.1.4 (2021-10-12)
Features
0.1.3 (2021-08-02)
Bug Fixes
0.1.2 (2021-08-01)
Bug Fixes
- make debug assertions drop safe (26d35a69)
Features
- improve panics on thread ID bit exhaustion (9ecb8e61)
Release notes
Open source →Bug Fixes
- Slab: invalid generation in case of custom config (#80) (ca090279)
<a name="0.1.4"></a>
0.1.4 (2021-10-12)
Features
- emit a nicer panic when thread count overflows
MAX_SHARDS(#64) (f1ed058a)
<a name="0.1.3"></a>
0.1.3 (2021-08-02)
Bug Fixes
<a name="0.1.2"></a>
0.1.2 (2021-08-01)
Bug Fixes
- make debug assertions drop safe (26d35a69)
Features
- improve panics on thread ID bit exhaustion (9ecb8e61)
<a name="0.1.1"></a>
-
0.1.412 Oct 2021Release notes
Open source → -
0.1.302 Aug 2021 -
0.1.201 Aug 2021 withdrawnNothing published for this version
-
0.1.104 Jan 2021Release notes
Open source →Release notes
Open source → -
0.1.020 Oct 2020Release notes
Open source →0.1.0 (2020-10-20)
Bug Fixes
- fix
removeandclearreturning true when the key is stale (b52d38b2)
Breaking Changes
- Pool: change
Pool::createto return a mutable guard (#48) (778065ea, closes #41, #16) - Slab: rename
GuardtoEntryfor consistency (425ad398)
Features
- add missing
Debugimpls (71a8883f) - Pool:
- Slab:
Performance
Release notes
Open source →Bug Fixes
- fix
removeandclearreturning true when the key is stale (b52d38b2)
Breaking Changes
- Pool: change
Pool::createto return a mutable guard (#48) (778065ea, closes #41, #16) - Slab: rename
GuardtoEntryfor consistency (425ad398)
Features
- add missing
Debugimpls (71a8883f) - Pool:
- Slab:
Performance
- allocate shard metadata lazily (#45) (e543a06d)
<a name="0.0.9"></a>
0.0.9 (2020-04-03)
Features
- Config: validate concurrent refs (9b32af58, closes #21)
- Pool:
- Slab::take: add exponential backoff when spinning (6b743a27)
Bug Fixes
<a name="0.0.8"></a>
0.0.8 (2020-01-31)
Bug Fixes
removenot adding slots to free lists (dfdd7aee)
<a name="0.0.7"></a>
0.0.7 (2019-12-06)
Bug Fixes
- Config: compensate for 0 being a valid TID (b601f5d9)
- DefaultConfig:
<a name="0.0.6"></a>
- fix
-
0.0.903 Apr 2020Nothing published for this version
-
0.0.831 Jan 2020 -
0.0.706 Dec 2019Nothing published for this version
-
0.0.608 Nov 2019 -
0.0.531 Oct 2019Release notes
Open source →Performance
- consolidate per-slot state into one AtomicUsize (#6) (f1146d33)
Features
- add Default impl for Slab (61bb3316)
<a name="0.0.4"></a>
-
0.0.421 Oct 2019Release notes
Open source →Features
- prevent items from being removed while concurrently accessed (872c81d1)
- added
Slab::removemethod that marks an item to be removed when the last thread accessing it finishes (872c81d1)
Bug Fixes
- nicer handling of races in remove (475d9a06)
Breaking Changes
<a name="0.0.3"></a>
-
0.0.307 Oct 2019Release notes
Open source →Bug Fixes
- split local/remote to fix false sharing & potential races (69f95fb0)
- set next pointer before head (cc7a0bf1)
Breaking Changes
- removed potentially racy
Slab::lenandSlab::capacitymethods (27af7d6c)
<a name="0.0.2"></a>
-
0.0.203 Oct 2019Release notes
Open source → -
0.0.102 Oct 2019