pub fn with_capacity(pages: usize) -> Self
    {
	#[cold] fn cap_too_low() -> !
	{
	    panic!("Got 0 capacity, this is invalid.")
	}
	
	if pages == 0 {
	    cap_too_low()
	}
	let mut p = Vec::with_capacity(pages);
	p.push(Page::new());
	Self(p)
    }
/// Create a new empty `Map` with a specific number of pages pre-allocated
Create a new empty `Map` with a specific number of pages pre-allocated
Create a new empty ` Map ` with a specific number of pages pre - allocated
pub fn with_capacity(pages: usize) -> Self
    {
	#[cold] fn cap_too_low() -> !
	{
	    panic!("Got 0 capacity, this is invalid.")
	}
	if pages == 0 {
	    cap_too_low()
	}
	let mut p = Vec::with_capacity(pages);
	p.push(Page::new());
	Self(p)
    }
pub fn with_capacity ( pages : usize ) -> Self { # [ cold ] fn cap_too_low ( ) -> ! { panic ! ( " " ) } if pages == 0 { cap_too_low ( ) } let mut p = Vec :: with_capacity ( pages ) ; p . push ( Page :: new ( ) ) ; Self ( p ) }
Create a new empty `Map` with a specific number of pages pre-allocated
Create a new empty ` Map ` with a specific number of pages pre - allocated
pages
usize