Range routing compares keys against ordered boundaries.
highlighted = computed this step
Range routing uses boundaries
A range scheme compares the key against ordered half-open boundaries. A key equal to a boundary does not go left; it continues to the next range. Note: every comparison row is produced by the compiler.
range comparison trace
Comparison trace
The compiled routing table contains 5 routes. The boundary-equal key uses 2 comparisons and lands at partition index 2.
routes=5,checks=2
Range and hash sharding are exact routing functions on tiny pinned key sets; real sharding adds consistent hashing, skew, hot partitions, and rebalancing cost, which are empirical and operational concerns beyond this model - no product claims.
Summary
Range routing is deterministic ordered comparison. Note: the book models named boundaries, not empirical load estimates.