Revolution much slower than HyperCard

Pierre Delain pdel at noos.fr
Mon Feb 11 02:57:01 EST 2002


Thanks Ken, it was the solution. The "go to card" form was the problem.


Pierre Delain

> 
> Since you're just gathering data from properties of cards, why do you need
> to *go* to the cards at all? This may just be a holdover from HC, but I'd be
> interested to know if this is any faster:
> 
> on mouseUp
> put the number of cards into CV
> repeat with x = 1 to CV
> if the VTheme1 of card x contains Cetheme or the VProp of card x
> contains Cetheme or the VNumero of card x contains Cetheme then
> put word 1 of the VNumero of card x && the VProp of card x & return
> after IV
> end if
> end repeat
> end mouseUp
> 
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> ----- Original Message -----
> From: "Pierre Delain" <pdel at noos.fr>
> To: <use-revolution at lists.runrev.com>
> Sent: Sunday, February 10, 2002 4:59 PM
> Subject: Revolution much slower then Hypercard
> 
> 
>> I find out with great surprise and disappointment that Revolution is much
>> slower then HyperCard.
>> I have a stack with 2163 cards, and a script containing the following loop
> :
>> 
>> repeat with CV = 1 to NBR
>> go card CV
>> if fld "ThProp" contains T or fld "proposition" contains ¬
>> T or fld "numero" contains T
>> then put word 1 of fld "numero" && fld "proposition" & Return ¬
>> after IV
>> end repeat
>> 
>> In Hypercard, it takes about 4-5 seconds to perform. In Revolution, I have
>> transfered the fields in custom properties in order to make it faster. I
> use
>> the following script :
>> 
>> put the number of cards into CV
>> repeat for CV times
>> go next card
>> if the VTheme1 of this card contains Cetheme or the VProp of this
> card
>> contains Cetheme or the VNumero of this card contains Cetheme then
>> put word 1 of the VNumero of this card && the VProp of this card &
>> Return after IV
>> end if
>> end repeat
>> 
>> It takes exactly 1 minuts 31 seconds!
>> 
>> Is Revolution so slow, or am I missing something?
>> 
>> 
>> Pierre
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> End of use-revolution Digest
> 




More information about the use-livecode mailing list