2 ms·
Here's a much more thorough post on why it's fast. mmap is only a small part of it (a bunch of the grep implementations mmap) http://blog.burntsushi.net/ripgre
by bpicolo 10y ago
Here's a much more thorough post on why it's fast. mmap is only a small part of it (a bunch of the grep implementations mmap)
http://blog.burntsushi.net/ripgrep/ http://blog.burntsushi.net/ripgrep/
- j1f4 10y agoThat's a great blog post. The `linux_literal` section is particularly interesting re: mmap.