[code] Sometimes replacing in textadept is too slow

From: Alexander Misel <alexander_misel.att.live.cn>
Date: Thu, 5 Sep 2019 07:19:14 +0000

I wanted to replace all occurences of a word in a single-line file (no line breaks), like raw JSON. When the word only occurs a few times, the speed is OK. But when it cames to a lot of occurences, it became slow and unresponsive. For example the attached file, replacing 'article' to 'art'.

I also tried the terminal method
sed -i s/article/art/g pop.txt
and it finished within a second.

So I wonder if it could speed up in Textadept.

You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 05 Sep 2019 - 03:19:14 EDT

This archive was generated by hypermail 2.2.0 : Thu 05 Sep 2019 - 06:47:42 EDT