Zuffer

Zuffer is equivalent of `bytes.Buffer` in Go without the ability to read. It is NOT thread-safe. In Memory mode, default allocator is used to allocate memory, which depending upon how the code is compiled could use jemalloc for allocations. In Mmap mode, `Zuffer` uses file mmap to allocate memory. This allows us to store big data structures without using physical memory. `max_size` can be set to limit the memory usage. [github][Github-url] [docs.rs][doc-url] [crates.io][crates-url] [license-apache][license-apache-url] [license-mit][license-mit-url]

Installation

toml [dependencies] zuffer = "0.1"

TODO

License

zuffer is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2022 Al Liu.