Alex Tweedly wrote:
> Would caseSensitive make it faster ?
In theory yes, since it avoids having to run the internal equivalent of
toLower on each thing being compared.
However in some recent experiments involving pattern matching on text I
was unable to measure a difference. That shouldn't be taken as
definitive; there are a lot of distracting things going on in the
routine I was testing with. I haven't yet done a good isolated test of
caseSensitive.
> Re md5 for repeated use - yes, it probably is worth doing.
The rsync algo offers an md5 option, but by default it compares files
based only on mod date and size. The thinking is that if both of those
match, the odds of having a changed file are very low.
Perhaps an optimal algo in your system would reserve md5 for those cases
where size and mod date match, which will eliminate most cases with less
CPU time.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
ambassa...@fourthworld.com http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode