Replacetext taking forever under 8.1.7

panagiotis merakos merakosp at gmail.com
Mon Nov 27 12:11:45 EST 2017


Hi Bruce,

If the same code snippet takes 20 mins in 8.1.7 and 1 second in 7.1.4, this
is definitely a bug. Please do file a report in quality.livecode.com, and
make sure you attach a simple sample stack that demonstrates the problem
for you.
Regression bugs have higher priority, so I would expect this issue to be
addressed soon, once it is confirmed.

Best,
Panos
--

On Thu, Nov 23, 2017 at 8:27 PM, Bruce Pokras via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I am trying to port a stack that runs fine under Livecode 7.1.4 to
> Livecode 8.1.7 in order to take advantage of 8.1.7’s 64-bit standalone app
> capability for Mac OS X “High Sierra". That is when I found that under
> either Yosemite or High Sierra a “replacetext" action takes over 20 minutes
> under 8.1.7 while under 7.1.4 it takes less than one second! The
> replacetext is to remove extra spaces in a 60,000 line (1.9 million
> character) variable, and looks like this:
>
> put replacetext(holdIt1,"[ ]{2,10}",empty) into holdIt
>
> Under 8.1.7 I get the dreaded spinning beachball, although the replacetext
> action eventually finishes (after 20 minutes), and the script then runs to
> completion.
>
> Any ideas about causes and cures for this issue?
>
> Regards,
>
> Bruce Pokras
> Blazing Dawn Software
> www.blazingdawn.com <http://www.blazingdawn.com/>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list