4 ms·
Wasn't one way to make grep faster setting LANG=C to avoid using language-aware string comparison? If so, shouldn't Unicode be supported by default or what woul
by ygra 2y ago
Wasn't one way to make grep faster setting LANG=C to avoid using language-aware string comparison? If so, shouldn't Unicode be supported by default or what would, say, de_DE.UTF-8 actually compare to make it slower?
- rurban 2y agoyes it should. but the libunistring variant was too slow. And since LANG is run-time evaluated you cannot really provide pre-compiled, better search patterns. sometime I'll come up with pre-computed optimized tables, but no time.
- JetSpiegel 2y agoIt's just a grep bug, ripgrep is fast and supports proper regex.