#arena #shared #slotmap

concurrent_arena

u32 concurrent insertion/removal arena that returns ArenaArc

4 releases

0.1.10 Oct 19, 2024
0.1.9 Sep 11, 2024
0.1.8 May 20, 2023
0.1.7 Aug 17, 2022
0.1.3 Dec 30, 2021

#150 in Concurrency

Download history 10461/week @ 2024-08-19 11291/week @ 2024-08-26 8358/week @ 2024-09-02 10015/week @ 2024-09-09 8042/week @ 2024-09-16 11378/week @ 2024-09-23 10413/week @ 2024-09-30 9606/week @ 2024-10-07 10121/week @ 2024-10-14 9424/week @ 2024-10-21 9423/week @ 2024-10-28 9296/week @ 2024-11-04 8461/week @ 2024-11-11 6679/week @ 2024-11-18 5015/week @ 2024-11-25 6393/week @ 2024-12-02

27,121 downloads per month
Used in 15 crates (via openssh-sftp-client-lowle…)

MIT license

44KB
997 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.7–5.5MB
~22K SLoC