Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bodil/refpool
An efficient memory pool mechanism for Rust.
https://github.com/bodil/refpool
Last synced: 4 days ago
JSON representation
An efficient memory pool mechanism for Rust.
- Host: GitHub
- URL: https://github.com/bodil/refpool
- Owner: bodil
- License: mpl-2.0
- Created: 2019-11-23T23:17:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-03T13:11:24.000Z (over 3 years ago)
- Last Synced: 2024-12-09T18:11:21.598Z (13 days ago)
- Language: Rust
- Homepage: https://docs.rs/refpool/
- Size: 82 KB
- Stars: 65
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
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
* [API docs](https://docs.rs/refpool)
## 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][coc]. By participating in this project you agree to abide by its
terms.[coc]: https://github.com/bodil/refpool/blob/master/CODE_OF_CONDUCT.md