Sure, that's always an option for large data calls to functions. On Mon, Oct 12, 2015 at 9:20 PM, Mike Doub <[email protected]> wrote:
> Pass by reference and you can eliminate a memcopy on the initial function > call. > > -= Mike > > > > On Oct 12, 2015, 9:11 PM, at 9:11 PM, Geoff Canyon <[email protected]> > wrote: > >Not quite as concise, but this function is about 3x faster: > > > >function greatestLessThan pList,V > > put empty into R > > repeat for each item i in pList > > if i < V and i > R then put i into R > > end repeat > > return R > >end greatestLessThan > >_______________________________________________ > >use-livecode mailing list > >[email protected] > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
