Large Scripts Run too Slowly

Ray ray at linkit.com
Mon Apr 20 10:52:40 EDT 2015


Yeah I looked through recent installs and didn't find much.  I 
uninstalled a couple of Java updates but it didn't help.  The slowness 
has been creeping in for a while actually.  It's time to take the bull 
by the horns.

By the way, how are you compressing the .gz file, below?  I'm unable to 
get to decompress it using Livecode's compress/decompress commands.

On 4/20/2015 4:40 PM, Richard Gaskin wrote:
> Ray wrote:
>
>> I've got a stack script of over 15,000 lines.  It's recently started
>> running too slow to work with.  Everything is painfully slow from plain
>> typing to searches to scrolling.
>
> How long has this been slow?
>
> What's changed since it was fast?
>
> You can break code up all sorts of ways, libraries, backscripts, 
> behaviors, depending on how your app is structured and how its objects 
> interact.
>
> But if the change was recent, given how long it takes to write 15 KLOC 
> it may also be worth looking into what the more recent code is doing.
>
> To spot redundant calls and other bottlenecks, this free tool has 
> saved my bacon many times:
> <http://fourthworld.net/revnet/devolution/4W_FlightRecorder.rev.gz>
>





More information about the use-livecode mailing list