Why GNU grep is fast (2010)(lists.freebsd.org)
lists.freebsd.org
Why GNU grep is fast (2010)
https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html
5 comments
Some times you can make it do more book keeping to work faster, though. This is actually a good example of that.
And, then there is an amusing reality to your message. What has done more to increase the speed of grep? Good techniques, or advances in computing speed? That is, making your code run faster has probably increased the speed of grep more so than making it do less. :)
And, then there is an amusing reality to your message. What has done more to increase the speed of grep? Good techniques, or advances in computing speed? That is, making your code run faster has probably increased the speed of grep more so than making it do less. :)
I know what you mean. I'm always like..."Uhh! Repost." Then I re-read it and...become enlightened.
See also, The Treacherous Optimization:
http://ridiculousfish.com/blog/posts/old-age-and-treachery.h...
http://ridiculousfish.com/blog/posts/old-age-and-treachery.h...
Most recent discussion: https://news.ycombinator.com/item?id=9153203
I'm also reminded of this:
I usually put links to previous discussions because I find value in the comments by HN users, but I'm not going to do that this time. You can search if you want to find previous discussions - there have been many, and some contain some real gems.