Skip to content
Opensource internals
  • Posts

Metadata

Tables That Pick Their Own Integer Width: How rustc Encodes Crate Metadata

Oct 21, 2026 8 min read Jay Hubbert

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.

RustInternalsCompilerMetadataFile formatPerformance

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·