#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

#116 in Concurrency

Download history 5489/week @ 2024-07-27 6980/week @ 2024-08-03 8430/week @ 2024-08-10 9758/week @ 2024-08-17 11286/week @ 2024-08-24 9063/week @ 2024-08-31 10224/week @ 2024-09-07 7427/week @ 2024-09-14 10593/week @ 2024-09-21 10938/week @ 2024-09-28 10290/week @ 2024-10-05 9359/week @ 2024-10-12 9842/week @ 2024-10-19 9185/week @ 2024-10-26 9461/week @ 2024-11-02 8285/week @ 2024-11-09

38,233 downloads per month
Used in 12 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.8–5.5MB
~22K SLoC