Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!zardoz.cpd.com!dhw68k!mrx From: mrx@dhw68k.cts.com (Mark Murphy) Newsgroups: comp.sys.mac.hypercard Subject: Slow Lock Screen and Unlock Screen Message-ID: <1990Dec12.225940.6563@dhw68k.cts.com> Date: 12 Dec 90 22:59:40 GMT Organization: Wolfskill & Dowling residence; Anaheim, CA (USA) Lines: 30 I have noticed something very wrong with Lock Screen and Unlock Screen. It seems to me that they have gotten slower! I have the following script: global x,y,z lock screen put line 1 of x into fld id 90 put line 2 of y into fld id 91 put line 3 of z into fld id 92 unlock screen Now... it takes this script about 78 ticks to execute on a MacIIcx with 256 colors. In other words, to update three fields on the screen, it takes a little over a second. If I remove the lock and unlock screen commands, the script only takes 18 ticks. Wow! What a difference! Looks like 30 ticks for each lock and unlock. I use the lock and unlock so the screen gets updated all at once... so the user does not see the three fields get updated one at a time. Yet it seems like there is quite a performance hit using lock and unlock. I don't seem to remember lock and unlock taking soooooo long in previous versions of HC. Oh.... did I forget to mention I am using HC 2.0? One other thing I have noticed... selecting text in a field via script takes a long time! Something like 'select text of fld id 90' takes quite some time. It is not the quick response I need to make the stack flow smoothly. -- mark mrx@dhw68k.cts.com