4 ms·
Pretty much, yes. Longer strings should also match fewer times than short strings, which should also speed things up (because reporting a match has its own over
by burntsushi 10y ago
Pretty much, yes. Longer strings should also match fewer times than short strings, which should also speed things up (because reporting a match has its own overhead associated with it, like printing text to the terminal).