ts-mem-pool 0.1.3

A simple thread-safe memory pool crate
Documentation

Memory pool

This is a simple crate meant to allow sharing data allocated in a memory pool.
Before sharing the data, it can be written, but once shared it becomes read-only.
Dropped data is returned to the memory pool where it is recycled and can be used to share other information

Performance

This approach only gains performance, when working without memory constraints, when the size of a memory slot reaches sizes near 50 000 bytes. Near 4 000 000 bytes, the time gain becomes sizeable, and in this range, this crate would be truly useful.

Contribution

I created this crate because I needed it for a project. If you need a certain feature that it currently lacks, feel free to ask for it, or contribute it to the crate.

License

This crate is distributed under the MIT license

Acknowledgment

This crate was written as a dependency for a project by Mobile Devices Inc.