pub fn new(mut regions: Vec<MemoryRegion>, config: &'a Config) -> Self {
        let mut result = Self {
            regions: vec![MemoryRegion::default(); regions.len()].into_boxed_slice(),
            dense_keys: vec![0; regions.len()].into_boxed_slice(),
            config,
        };
        regions.sort();
        result.construct_eytzinger_order(&regions, 0, 0);
        result
    }
/// Creates a new MemoryMapping structure from the given regions
Creates a new MemoryMapping structure from the given regions
Creates a new MemoryMapping structure from the given regions
pub fn new(mut regions: Vec<MemoryRegion>, config: &'a Config) -> Self {
        let mut result = Self {
            regions: vec![MemoryRegion::default(); regions.len()].into_boxed_slice(),
            dense_keys: vec![0; regions.len()].into_boxed_slice(),
            config,
        };
        regions.sort();
        result.construct_eytzinger_order(&regions, 0, 0);
        result
    }
pub fn new ( mut regions : Vec < MemoryRegion > , config : & ' a Config ) -> Self { let mut result = Self { regions : vec ! [ MemoryRegion default ( ) regions len ( ) ] . into_boxed_slice ( ) , dense_keys : vec ! [ 0 regions len ( ) ] . into_boxed_slice ( ) , config , } ; regions . sort ( ) ; result . construct_eytzinger_order ( & regions , 0 , 0 ) ; result }
Creates a new MemoryMapping structure from the given regions
Creates a new MemoryMapping structure from the given regions
regions
Vec<MemoryRegion>
config
&'a Config