Skip to main content

COST_UNIT

Constant COST_UNIT 

Source
pub const COST_UNIT: Cost = 16;
Expand description

The cost of one ordinary edit. Every cost in the table below is expressed in these units: cheaper edits (a neighbouring key, a doubled letter, a transposition) cost a fraction of it, edits on the first byte cost more.