Module lexical_write_integer::algorithm

source ·
Expand description

Radix-generic, optimized, integer-to-string conversion routines.

These routines are highly optimized: they unroll 4 loops at a time, using pre-computed base^2 tables.

See Algorithm.md for a more detailed description of the algorithm choice here. See Benchmarks.md for recent benchmark data.

Functions§

  • Optimized implementation for radix-N numbers.
  • Optimized implementation for radix-N 128-bit numbers.