summaryrefslogtreecommitdiffstats
path: root/vendor/im-rc/src/nodes/mod.rs
blob: 24e7455048d94b48e5d4b879ffc674e664fea8ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This Source Code Form 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/.

pub(crate) mod btree;
pub(crate) mod hamt;
pub(crate) mod rrb;

pub(crate) mod chunk {
    use crate::config::VectorChunkSize;
    use sized_chunks as sc;
    use typenum::Unsigned;

    pub(crate) type Chunk<A> = sc::sized_chunk::Chunk<A, VectorChunkSize>;
    pub(crate) const CHUNK_SIZE: usize = VectorChunkSize::USIZE;
}