fastes way to search an array?
gcanyon at gmail.com
Thu Apr 23 18:01:29 EDT 2015
On Wed, Apr 22, 2015 at 6:22 PM, Peter Haworth <pete at lcsql.com> wrote:
> Out of interest, I added a test which used combine and filter. It took
> around 3 times longer than the other two tests.
Yeah, I didn't expect this to be competitive except under specific
circumstances -- if the filter command happens to be suited to the
(relatively complex) search performed, for example. I didn't see 3x, more
like 1.5x to 2x, but still, iterating is generally the way to go.
More information about the Use-livecode