#concurrency #arena #shared #slotmap

concurrent_arena

u32 concurrent insertion/removal arena that returns ArenaArc

1 unstable release

0.1.7 Aug 17, 2022
0.1.6 May 25, 2022
0.1.5 Feb 2, 2022
0.1.4 Jan 31, 2022
0.1.3 Dec 30, 2021

#324 in Concurrency

Download history 55/week @ 2022-10-15 183/week @ 2022-10-22 180/week @ 2022-10-29 72/week @ 2022-11-05 21/week @ 2022-11-12 21/week @ 2022-11-19 22/week @ 2022-11-26 27/week @ 2022-12-03 48/week @ 2022-12-10 43/week @ 2022-12-17 31/week @ 2022-12-24 27/week @ 2022-12-31 27/week @ 2023-01-07 92/week @ 2023-01-14 31/week @ 2023-01-21 120/week @ 2023-01-28

276 downloads per month
Used in 3 crates (via openssh-sftp-client-lowlevel)

MIT license

43KB
1K SLoC

ConcurrentArena

Rust

crate.io downloads

crate.io version

docs

Concurrent arena that

  • Support concurrent inserted and removed;
  • Use a u32 as key;
  • Returns ArenaArc to track the inserted object to avoid lifetime issues.

How to run tests

./run_tests.sh

Dependencies

~0.8–5.5MB
~86K SLoC