Deleting cards slower in distribution

Ken Ray kray at sonsothunder.com
Fri Aug 16 23:15:01 CDT 2002


Andreas,

Did you lock messages before deleting the cards? That would significantly speed things up...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

  ----- Original Message ----- 
  From: Aphcard at aol.com 
  To: use-revolution at lists.runrev.com 
  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/20020816/de1fc2ff/attachment.html>


More information about the use-livecode mailing list