#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

#146 in Concurrency

Download history 11418/week @ 2024-09-24 11175/week @ 2024-10-01 8780/week @ 2024-10-08 9986/week @ 2024-10-15 10241/week @ 2024-10-22 9479/week @ 2024-10-29 8097/week @ 2024-11-05 9019/week @ 2024-11-12 6240/week @ 2024-11-19 4760/week @ 2024-11-26 6590/week @ 2024-12-03 6941/week @ 2024-12-10 4749/week @ 2024-12-17 6380/week @ 2024-12-24 6438/week @ 2024-12-31 5846/week @ 2025-01-07

24,237 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.8–5.5MB
~22K SLoC