Crates.io | refpool |
lib.rs | refpool |
version | 0.4.3 |
source | src |
created_at | 2019-11-26 00:03:30.828242 |
updated_at | 2020-08-09 11:25:27.023854 |
description | Efficient memory pool with reference counting |
homepage | |
repository | https://github.com/bodil/refpool |
max_upload_size | |
id | 184328 |
size | 99,696 |
A reimplementation of Rust's std::boxed::Box
and std::rc::Rc
which uses a pool of reusable memory
to speed up reallocation.
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.
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/.
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.