Access memory using small fixed size buffers.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update .github Aug 19, 2018
src read file to buf not only once (#10) Aug 31, 2018
tests Update quickcheck requirement from 0.6.2 to 0.7.1 (#12) Sep 17, 2018
.gitignore
.travis.yml
CERTIFICATE
CHANGELOG.md Update changelog Aug 31, 2018
Cargo.toml Update rand requirement from 0.5.5 to 0.6.0 Nov 15, 2018
LICENSE-APACHE Relicense to MIT OR Apache-2.0 Mar 30, 2018
LICENSE-MIT Relicense to MIT OR Apache-2.0 Mar 30, 2018
README.md Relicense to MIT OR Apache-2.0 Mar 30, 2018
rustfmt.toml . Mar 26, 2018

README.md

memory-pager

crates.io version build status downloads docs.rs docs

Access memory using small fixed size buffers. Adapted from mafintosh/memory-pager.

Usage

extern crate memory_pager;

let mut pager = memory_pager::Pager::new(1024);
let page = pager.get_mut_or_alloc(3);
assert_eq!(page.len(), 1024);

Installation

$ cargo add memory-pager

License

MIT OR Apache-2.0