3 ms·
> An N^2 RSS performance regression with many patterns has been fixed in common cases (no backref, and no use of -o or --color). Does anyone know why -o and --
by ufo 6y ago
> An N^2 RSS performance regression with many patterns has been fixed in common cases (no backref, and no use of -o or --color).
Does anyone know why -o and --color were slow in older versions of Grep? Doesn't --color just affect the output, not the matching?