Re: quickly wiping a card

2013-09-26 Thread Dr. Hawkins
On Thu, Sep 26, 2013 at 9:00 AM, Dr. Hawkins wrote: > 84 ms. > > and > repeat for each > Scratch that; something really funky happened to my ide. At the moment, I'm getting 0ms for deleting a card, and for repeating for each line in the groupnames and deleting that group. And I was getting 50m

Re: quickly wiping a card

2013-09-26 Thread Dr. Hawkins
On Sun, Sep 15, 2013 at 3:48 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > I wonder how long this takes: > > on deleteAllControls >beep >answer warning "Delete all visible objects from stack" && \ > the short name of the topstack & "?" with "Cancel" or "Delete" >

Re: quickly wiping a card

2013-09-15 Thread Ender Nafi Elekcioglu
I can confirm Scott's results  but still, it seems that creating a group, creating the controls in it and deleting only the group is a must whenever it's possible. Here is the outcome of Scott's code in my mac:   lock screen & lock messages & no group : create 2744ms, delete 7ms. lock screen & no

Re: quickly wiping a card

2013-09-15 Thread Geoff Canyon
Scott, that runs in about 6ms for me, and the only things faster I could find were to make sure the objects were in a group and delete the group (as you suggested) or just create a new blank card and delete the existing card, and neither of those was faster than 4ms. On Sun, Sep 15, 2013 at 8:08

Re: quickly wiping a card

2013-09-15 Thread Scott Rossi
Hi Mark: My point was, with messages locked, nothing can be updated until after the handler has executed (or you manually unlock messages). So if your scripts rely on tracking objects individually as they are deleted, then locking messages doesn't make sense. However, the original post explicitl

Re: quickly wiping a card

2013-09-15 Thread Mark Wieder
Scott- Saturday, September 14, 2013, 7:23:35 PM, you wrote: > Actually Mark, locking messages is often a good way to speed things > exactly because the IDE doesn't track objects that are added or deleted > until after the current handler has finished executing. Well, you had me going for a while

Re: quickly wiping a card

2013-09-15 Thread Mark Schonewille
Whoops... you might want to select the pointer tool and make sure that groups are deleted: on deleteAllControls beep answer warning "Delete all visible objects from stack" && \ the short name of the topstack & "?" with "Cancel" or "Delete" if it is "Delete" then choose poin

Re: quickly wiping a card

2013-09-15 Thread Mark Schonewille
Richard, I wonder how long this takes: on deleteAllControls beep answer warning "Delete all visible objects from stack" && \ the short name of the topstack & "?" with "Cancel" or "Delete" if it is "Delete" then lock screen lock messages drag from 0,0 to the bottom

Re: quickly wiping a card

2013-09-15 Thread Dr. Hawkins
On Sat, Sep 14, 2013 at 5:27 PM, Mark Wieder wrote: > Saturday, September 14, 2013, 5:04:46 PM, you wrote: > > > hmm, locking everything and deleting the card is down to 5 ms, but > > shouldn't there be a quick way to wipe? > > That's probably not a good idea if you mean locking messages. There >

Re: quickly wiping a card

2013-09-14 Thread Scott Rossi
Actually Mark, locking messages is often a good way to speed things exactly because the IDE doesn't track objects that are added or deleted until after the current handler has finished executing. I don't have any additional suggestions other than lock screen/lock messages -- those are the two I us

Re: quickly wiping a card

2013-09-14 Thread Mark Wieder
Richard- Saturday, September 14, 2013, 5:04:46 PM, you wrote: > hmm, locking everything and deleting the card is down to 5 ms, but > shouldn't there be a quick way to wipe? That's probably not a good idea if you mean locking messages. There are parts of the IDE that would like to be notified whe

quickly wiping a card

2013-09-14 Thread Dr. Hawkins
I am trying to clear cards for output, but it seems to take bizarrely long. I'm on a fast machine (quad core 2.7ghz I7, 16gb ram, ssd). I can't get wiping things from or deleting a nearly empty card under 160 ms or so. I've tried delete, I've tried for each of the groupNames, then of the control