blob: ce032c6f4d379f8d81236be88654faa807ba1912 [file] [log] [blame]
// 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/.
#![allow(unsafe_code)]
pub mod sized_chunk;
pub mod sparse_chunk;
pub mod chunk {
use super::sized_chunk as sc;
use config::VectorChunkSize;
use typenum::Unsigned;
pub type Chunk<A> = sc::Chunk<A, VectorChunkSize>;
pub type Iter<A> = sc::Iter<A, VectorChunkSize>;
pub const CHUNK_SIZE: usize = VectorChunkSize::USIZE;
}