pub const MAX_DASH_COUNT: u32 = 2048;
Expand description

Maximum number of dots or dashes per segment to avoid freezing and filling up memory with unreasonable inputs. It would be better to address this by not building a list of per-dot information in the first place.