Re: Large Scripts Run too Slowly

2015-04-21 Thread J. Landman Gay
On 4/20/2015 7:21 PM, Richard Gaskin wrote: The scripts have been unlocked for many years, ever since I first released it as Public Domain back in 2002. The drag-n-drop worked on Mac last time I used it there a few weeks ago, but now that I'm spending more time on Linux I tested it in Ubuntu and

Re: Large Scripts Run too Slowly

2015-04-21 Thread Peter M. Brigham
On Apr 21, 2015, at 11:09 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > I've put gZipper into my plugins folder -- thanks, Richard! However, > > I attempted to edit the stack -- just cosmetic stuff, the controls > > weren't aligned and things were off-center, etc, I'm a little > > obs

Re: Large Scripts Run too Slowly

2015-04-21 Thread Richard Gaskin
Peter M. Brigham wrote: > I've put gZipper into my plugins folder -- thanks, Richard! However, > I attempted to edit the stack -- just cosmetic stuff, the controls > weren't aligned and things were off-center, etc, I'm a little > obsessive that way, it really distracts me when stuff doesn't look

Re: Large Scripts Run too Slowly

2015-04-21 Thread Peter M. Brigham
I've put gZipper into my plugins folder -- thanks, Richard! However, I attempted to edit the stack -- just cosmetic stuff, the controls weren't aligned and things were off-center, etc, I'm a little obsessive that way, it really distracts me when stuff doesn't look good. (I know this is just a qu

Re: Large Scripts Run too Slowly

2015-04-20 Thread JB
Hi Richard, I just looked at your code and it is really nice. I always learn so much from your code. Thanks again! John Balgenorth On Apr 20, 2015, at 5:37 PM, JB wrote: > Thanks Richard! > > I am working on a project that will be > doing some file zipping. It isn’t a full > blown zip pro

Re: Large Scripts Run too Slowly

2015-04-20 Thread JB
Thanks Richard! I am working on a project that will be doing some file zipping. It isn’t a full blown zip program. It will just provide the ability to zip a file in the process. It is impressive and nice to see very old code works on current Macs. I jusst downloaded the code from you links and

Re: Large Scripts Run too Slowly

2015-04-20 Thread Richard Gaskin
J. Landman Gay wrote: > On 4/20/2015 11:07 AM, Richard Gaskin wrote: >> I made a drag-and-drop plugin for LC's gzip: >> > > I've been using this a lot over the years, just because it's easier > than typing the command into the message bo

Re: Large Scripts Run too Slowly

2015-04-20 Thread Dr. Hawkins
On Mon, Apr 20, 2015 at 7:28 AM, 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. Stepping through lines with the debugger > is almost impossible. Execu

Re: Large Scripts Run too Slowly

2015-04-20 Thread JB
It would be nice to be able to see the scripts. There are others out there that let you view the script and have drag and drop. A really good feature to have would be the ability to zip a folder of files and folders and a volume of a hard drive. John Balgenorth On Apr 20, 2015, at 10:44 AM, J.

Re: Large Scripts Run too Slowly

2015-04-20 Thread J. Landman Gay
On 4/20/2015 11:07 AM, Richard Gaskin wrote: I made a drag-and-drop plugin for LC's gzip: I've been using this a lot over the years, just because it's easier than typing the command into the message box. But the copy I have isn't drag

Re: Large Scripts Run too Slowly

2015-04-20 Thread Ray
Richard - I only notice the slow-down in the IDE. The code executing normally seems to run fine. It's when I open the script editor that I run into problems. I don't know why my decompress didn't work but your line opened the FlightRecorder stack fine. Thanks! I'll give it a try. On 4/20

Re: Large Scripts Run too Slowly

2015-04-20 Thread Michael Doub
Ray, Take a look at the way the MasterLibrary Works. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 It has an infrastructure in place to add functions and handler to stacks. These can easily be turned into substacks.Feel free to copy with pride if it makes sense fo

Re: Large Scripts Run too Slowly

2015-04-20 Thread Richard Gaskin
Ray wrote: > On 4/20/2015 4:40 PM, Richard Gaskin wrote: ... >> 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 ba

Re: Large Scripts Run too Slowly

2015-04-20 Thread Ray
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 ge

Re: Large Scripts Run too Slowly

2015-04-20 Thread Richard Gaskin
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, lib

Large Scripts Run too Slowly

2015-04-20 Thread Ray
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. Stepping through lines with the debugger is almost impossible. I start using this stack at launch so all other stacks i