rustc’s rmeta tables pick their element width at runtime by stripping trailing zero bytes, and interleave the bytes of integer pairs so both numbers benefit from the compression.
The rustc incremental file format packs a node header into 38 bytes, keeps edges varint-encoded in memory, and streams the graph out with per-thread buffers and block-allocated …