#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 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 7835/week @ 2025-01-07 7450/week @ 2025-01-14 7671/week @ 2025-01-21 6351/week @ 2025-01-28 19016/week @ 2025-02-04

42,458 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