Skip to main content

Word

Type Alias Word 

Source
pub type Word = u64;
Expand description

Fundamental word type for bitmask operations on 64-bit architectures.

Defines the basic unit of bitmask storage and manipulation. All bitmask operations are optimised around 64-bit word boundaries for maximum performance on modern CPU architectures.

ยงArchitecture Alignment

This type is chosen to align with:

  • 64-bit CPU registers: Native register width on x86-64 and AArch64
  • Cache line efficiency: Optimal memory access patterns
  • SIMD compatibility: Natural alignment for vectorised operations