Skip to main content

probe_letters

Function probe_letters 

Source
pub fn probe_letters(batch: &RawBatch) -> LetterCounts
Expand description

Letter counts of the sequences in a batch (the alphabet probe).

Sequential on purpose: the pre-check runs outside any analysis thread pool, where rayon would fall back to its global pool, which ignores the chosen thread count and, once the system refuses one of its threads, stays unusable for the rest of the process. One batch (at most 64 MiB) takes tens of milliseconds as a byte histogram.