3 ms·
https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
by bpicolo 11y ago
https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
- acveilleux 11y agoOkay, that does sound like it might be faster. If Ag unrolls the main loop and ignores line breaks unless there's a match, the JIT regex might well give you the decisive speed edge. (I'm ignoring the parallel part of Ag, obviously that's a winner in the ack use case.) I'm going to seriously consider switching to Ag from ack, especially since my work source tree has recently switched to an SSD.
- bpicolo 11y agoThat 33% gain on typing speed is the real gain ;D