Contains vs is in

Mike Kerner MikeKerner at roadrunner.com
Tue Jan 3 15:12:20 EST 2017


I mean if you do web scraping and use LC to analyze the results, a million
is a small number.

On Tue, Jan 3, 2017 at 2:34 PM, hh <hh at hyperhh.de> wrote:

> 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. :)
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list