#arena #shared #slotmap

concurrent_arena

u32 concurrent insertion/removal arena that returns ArenaArc

3 releases

new 0.1.9 Sep 11, 2024
0.1.8 May 20, 2023
0.1.7 Aug 17, 2022
0.1.6 May 25, 2022
0.1.3 Dec 30, 2021

#145 in Concurrency

Download history 5256/week @ 2024-05-22 6437/week @ 2024-05-29 7449/week @ 2024-06-05 7402/week @ 2024-06-12 5459/week @ 2024-06-19 12810/week @ 2024-06-26 4726/week @ 2024-07-03 6919/week @ 2024-07-10 5230/week @ 2024-07-17 6835/week @ 2024-07-24 5316/week @ 2024-07-31 8491/week @ 2024-08-07 8127/week @ 2024-08-14 11887/week @ 2024-08-21 10275/week @ 2024-08-28 6921/week @ 2024-09-04

38,929 downloads per month
Used in 10 crates (via openssh-sftp-client-lowle…)

MIT license

44KB
996 lines

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
~22K SLoC