Contains vs is in

hh hh at hyperhh.de
Tue Jan 3 14:34:26 EST 2017


I think he means

10% of 1/100 of 1,000,000 iterations of a nano-million-dollar are 1 dollar.

> Richard Gaskin wrote:
> ?
>> Mike Kerner wrote:
>> > says the guy who doesn't scrape.
>> >
>> > On Mon, Jan 2, 2017 at 6:14 PM, Richard Gaskin wrote:
>> >
>> >> hh wrote:
>> >>
>> >> > I wasn't aware of that, good to know, "is in"/"contains" is 10%
>> >> > faster than "offset() > 0".
>> >>
>> >> But as with many benchmarks, it's helpful to keep the absolute times in
>> >> mind.
>> >>
>> >> In my quickie test script I had to use 1,000,000 iterations just to get
>> >> any appreciable duration to test.
>> >>
>> >> 10% of a fraction is a nanosecond isn't much to lose sleep over. :)




More information about the use-livecode mailing list