Skip to main content

Module reader

Module reader 

Source
Expand description

MaxMind DB reader implementation.

Key architectural design choices:

  • Contiguous 64-byte-aligned native tree representation (PreparedTree).
  • Lock-free, zero-atomic eager radix accelerator tables for root and IPv4 subtrees.
  • Const-unrolled byte-stride multi-bit traversal without per-lookup heap allocations.
  • Full zero-copy decoding with fast ASCII validation and direct memory-mapped access.

Structsยง

Reader
Parsed MaxMind DB reader.