On 2015-04-23 02:15, Richard Gaskin wrote:
In fact, given that SearchArray1 includes the extra overhead of
extracting the keys and creating a text list from them, if it were
faster I'd call it a bug.

I think you may have your SearchArray* functions round the wrong way.

SearchArray1 is 'direct key' (it uses repeat for each key)
SearchArray2 is 'key list' (it uses 'the keys' and repeat for each line)

The results are what I would expect - 'direct key' is faster than 'key list' for precisely the reason you state above :)

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
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

Reply via email to