Deleting cards slower in distribution

Aphcard at aol.com Aphcard at aol.com
Sat Aug 17 02:41:01 EDT 2002


Hallo Ken,
thank you for the tip! "lock messages" did it :). 
Andreas


> Andreas,
>  
> Did you lock messages before deleting the cards? That would significantly 
> speed things up...
>  
> Ken Ray
> Sons of Thunder Software
> Email: <A HREF="mailto:kray at sonsothunder.com">kray at sonsothunder.com</A>
> Web Site: <A HREF="http://www.sonsothunder.com/">http://www.sonsothunder.com/</A>
>  
> 
> >> ----- Original Message ----- 
>> From: <A HREF="mailto:Aphcard at aol.com">Aphcard at aol.com</A> 
>> To: <A HREF="mailto:use-revolution at lists.runrev.com">use-revolution at lists.runrev.com</A> 
>> Sent: Friday, August 16, 2002 1:53 PM
>> Subject: Deleting cards slower in distribution
>> 
>> 
>> I have to delete about 150 cards in Rev (windows-vesion). I use following 
>> code:
>> 
>> on delete_cards
>>   lock screen
>>   go to first card
>>   repeat for  (number of cards + 1)
>>     try
>>       delete this card
>>     end try
>>     go previous card
>>   end repeat
>>   unlock screen
>> end delete_cards
>> 
>> When I execute this code inside the IDE of Rev, it takes about 1/4 sec. 
>> After building a distribution for Windows, the same code executes in about 
>> 3 seconds. I also built a distribution with Metacard 2.4.3b. In this 
>> version it runs at speedy 1/4 seconds (the same as inside the Rev-IDE). Is 
>> it a known problem of the 2.4.1 engine?
>> Regards
>> Andreas 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020817/5f8efe3f/attachment.html>


More information about the use-livecode mailing list