Home Download Buy Blog Forum Support

Replace Operation terribly slow compared to other editors

Replace Operation terribly slow compared to other editors

Postby bradmurray on Thu Jul 07, 2011 2:06 pm

I have had a lot of problems with large replace functions and know there has to be a better way. For example I have a replace that is replacing all spaces in a 100K line text file with nothing. It is taking over 10 minutes and eating up 100s of MB of memory. The file is only 1.7MB. The same operation takes about 5 seconds in BBEdit. There are about 600,000 replacements done in the process.
bradmurray
 
Posts: 3
Joined: Thu Jul 07, 2011 2:00 pm

Re: Replace Operation terribly slow compared to other editors

Postby bradmurray on Wed Jul 13, 2011 1:55 pm

Ping - anybody with any thoughts on this?
bradmurray
 
Posts: 3
Joined: Thu Jul 07, 2011 2:00 pm

Re: Replace Operation terribly slow compared to other editors

Postby jps on Wed Jul 13, 2011 2:13 pm

In general, the Replace panels performance is fine. It appears you've found a pathological corner case.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: Replace Operation terribly slow compared to other editors

Postby bradmurray on Wed Jul 13, 2011 9:14 pm

It performs fine when it's not doing that much work. On any medium to large job it is always orders of magnitude slower than BBEdit.
bradmurray
 
Posts: 3
Joined: Thu Jul 07, 2011 2:00 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], ollieglass and 29 guests