Constant ipld_amt::MAX_INDEX[][src]

pub const MAX_INDEX: usize = (std::u64::MAX - 1) as usize; // 0xf_fff_fff_fff_fff_ffeusize

MaxIndex is the maximum index for elements in the AMT. This u64::MAX-1 so we don’t overflow u64::MAX when computing the length.