3 ms·
i'm using bincode to serialize btrees and the files are smaller than i expected...it's pretty cool. must be storing my u32s as u16s or u8s sometimes.
by rootw0rm 4y ago
i'm using bincode to serialize btrees and the files are smaller than i expected...it's pretty cool. must be storing my u32s as u16s or u8s sometimes.
- fabrice_d 4y agoYes, bincode supports the varint zigzag encoding which helps with small enough values.