use super::arena::Record;
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct BigIntRecord {
pub negative: bool,
pub limbs: Box<[u64]>,
}
impl Record for BigIntRecord {
fn vacant() -> Self {
BigIntRecord {
negative: false,
limbs: Box::new([]),
}
}
fn extra_bytes(&self) -> usize {
self.limbs.len() * 8
}
}