Skip to main content

SHIFT_COUNT

Constant SHIFT_COUNT 

Source
pub const SHIFT_COUNT: usize = _; // 512usize
Expand description

The number of (variant, amount) spellings one shift slot can take.

A shift is a variant paired with an amount below the word width. One weight table per shift slot has this many entries.

A term carries two slots, so the sequences it could name number the square of this. The weight factorizes across the slots, so two tables of this size replace one of that square.