#ring-buffer #buffer #ring #cache #magic #networking

nightly network-collections

Collections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory crashes. Includes two kinds of least recently used caches, a bounded hash map, a magic ring buffer (virtual ring buffer) and an arena allocator.

10 releases

Uses old Rust 2015

0.1.9 Nov 27, 2018
0.1.8 Aug 10, 2018
0.1.2 Jul 31, 2018

#640 in Memory management

39 downloads per month
Used in 4 crates (3 directly)

AGPL-3.0

110KB
2.5K SLoC

network

network is a set of Rust crates to make it easier to work with networking.

Licensing

The license for this project is AGPL3.


lib.rs:

network-collections

Collections suitable for use with networking, particularly when a fixed memory usage is required to prevent out-of-memory crashes. Includes two kinds of least recently used caches, a bounded hash map, a magic ring buffer (virtual ring buffer) and an arena allocator.

Dependencies

~0.5–1.4MB
~32K SLoC