Skip to main content

DEFAULT_MAX_COST

Constant DEFAULT_MAX_COST 

Source
pub const DEFAULT_MAX_COST: usize = 1024;
Expand description

The default cost cap: the largest edit distance one Myers run may reach. Its trace takes about cap² / 2 words, so the default keeps it near 4 MB.