News for hackers. Stuff that matters.
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
Re:Go Replace - simple and fast search and replace tool for ... by piranha on Wednesday May 22, 2013 @08:15AM (#5750209)
Yes, I've mentioned it in my post. :) It's nice, but it does not perform replaces. I could add .xignore support though.