#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

#155 in Concurrency

Download history 9660/week @ 2024-10-27 9048/week @ 2024-11-03 8584/week @ 2024-11-10 6740/week @ 2024-11-17 5143/week @ 2024-11-24 6647/week @ 2024-12-01 6515/week @ 2024-12-08 4722/week @ 2024-12-15 6087/week @ 2024-12-22 6627/week @ 2024-12-29 7096/week @ 2025-01-05 8012/week @ 2025-01-12 6762/week @ 2025-01-19 7140/week @ 2025-01-26 19044/week @ 2025-02-02 20057/week @ 2025-02-09

53,314 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–6MB
~22K SLoC