Re:Go Replace - simple and fast search and replace tool for ...
by pekk on Wednesday May 22, 2013 @07:44AM
(#5750097)
By slow startup do you mean 0.01s of wall time? This sounds more like a prejudice than a decision with a strong technical basis.
[ Parent
| on HN ]
Re:Go Replace - simple and fast search and replace tool for ...
by piranha on Wednesday May 22, 2013 @07:54AM
(#5750132)
By slow startup I mean that 0.1s is the fastest small Python program using optparse, os, sys, re will start up on my system (i7 2.0, ssd). Search and replace tool will be slower. I constantly get 0.02s-0.3s results from 'gr' on my small-to-medium repositories (up to ~80k sloc). 'ack' takes more than a second usually.
Also it was written when I had HDD (not SSD) and codebase was on an encrypted image. It made enormous difference to me.
Re:Go Replace - simple and fast search and replace tool for ...
by cfrss on Wednesday May 22, 2013 @08:12AM
(#5750199)
btw, here is ag, which also looks .xignore files: https://github.com/ggreer/the_silver_searcher