refpool

Crates.iorefpool
lib.rsrefpool
version0.4.3
sourcesrc
created_at2019-11-26 00:03:30.828242
updated_at2020-08-09 11:25:27.023854
descriptionEfficient memory pool with reference counting
homepage
repositoryhttps://github.com/bodil/refpool
max_upload_size
id184328
size99,696
Bodil Stokke (bodil)

documentation

http://docs.rs/refpool

README

refpool

A reimplementation of Rust's std::boxed::Box and std::rc::Rc which uses a pool of reusable memory to speed up reallocation.

Is It Fast?

It's about twice as fast as the system allocator on Linux systems, and six times as fast on Windows systems, when the pool is non-empty. For certain data types, gains can be even higher.

Documentation

Licence

Copyright 2019 Bodil Stokke

This software is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Commit count: 46

cargo fmt