[TxMt] Performance issues

Aristide Grange grange at univ-metz.fr
Sat May 27 12:30:32 UTC 2006


>> Problem: Replace all the 225800 occurrences of "~\n" by "\n" (iMac  
>> G4 800 Mhz, 1GB ram, 10.4.6):
>> 	TextWrangler: 30 s (gracefully interruptible)
>> 	TextMate: who knows? (forced to quit after 15 mn)
>
> What happens if you replace '~$' with '~' instead?

Good idea! I thought using regexp would be slower somehow, but:

Problem: Regexp-replace all the 225800 occurrences of "~$" by ""
	TextWrangler: no difference
	TextMate: 4 mn

It seems that the search engine of TextMate performs far better on  
single lines...
Thanks!
A.




More information about the textmate mailing list