Remote Find Questions
Wouter
wouter.abraham at pi.be
Sat Mar 27 18:50:36 EST 2004
>
snip
> Perhaps I am incorrect here, in that if the engine maintains an index
> of marked cards, "unmark all cards" can simply empty the index,
> rather than set a property on each card. But the Transcript
> Dictionary lists "mark" as a card property; so that leads me to
> assume "mark [or unmark] all cards" sets the property on each card.
>
> I'd need to do some timing tests to get beyond idle conjecture; but
> if forced to bet, my money is on mark/unmark all cards touching every
> card in a stack.
> --
>
> Rob Cozens
> CCW, Serendipity Software Company
> http://www.oenolog.net/who.htm
>
Hi Rob,
Just ran a little test.
Made a stack with 10000 cards with 1 field (fld 1) on each.
Put some text on random cards.
Put some extra fields (fld 2) on some of the cards
on mousup
put the long secs into zap -- ;-)
mark cards where field 1 contains <sometext>
put the long secs - zap
end mouseup
results around 10.420514
mark cards where field 2 contains <sometext>
results around 0.072319
(on tibook 400 mhz )
Seems to me that the mark/unmark command doesn't touch
every card in the stack.
Can we force a bet? :-))
Greetings,
WA
More information about the use-livecode
mailing list