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>

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to