ic-storage 0.5.0

Page-based stable-memory B-tree storage for Internet Computer applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Private custom-tree qualification surface, also compiled by the unpublished benchmark.
use ic_memory::{DefaultMemoryImpl, Memory, RuntimeMemory};

#[path = "btree/mod.rs"]
mod btree;
#[path = "governed.rs"]
mod governed;

pub(crate) use btree::{Comparator, Config, Error, Lexicographic};
pub(crate) use governed::BTreeMap;
pub(crate) type Entry<'a, M = DefaultMemoryImpl, C = Lexicographic> =
    btree::Entry<'a, RuntimeMemory<M>, C>;
pub(crate) type Range<'a, M = DefaultMemoryImpl, C = Lexicographic> =
    btree::Range<'a, RuntimeMemory<M>, C>;