Function etterna::find_fastest_note_subset[][src]

pub fn find_fastest_note_subset(
    seconds: &[f32],
    min_num_notes: u32,
    max_num_notes: u32
) -> FastestComboInfo

This function finds the fastest note subset (where the number of notes in the subset is in min_num_notes..=max_num_notes). The function operates on a single lane only!

The caller still has to scale the returned NPS by the music rate (only applies to etterna-graph, where the note seconds are always in 1.00x)

seconds must be sorted!