Nice comparison.
In 8.0.0-dp15 I have here with the large example 2.13 - 4.45 - 2.90.
**So case 1 wins. Clearly.**
Interesting. And good to know.
p.s.
min and max work also on arrays containing only numbers.
Has at about the speed of case 3.
hh
___
> On 28 Feb 2016, at 12:52, Thierry Douez wrote:
>
> Well, as I don't know your context,
> I'm not sure if speed is really a problem here?
Speed is not important for my immediate situation finding the max and min in a
series of numbers to generate chart axes
but as you
2016-02-28 13:01 GMT+01:00 Terence Heaford :
> Thanks,
>
> That is a good solution which will also apply to Max.
>
> I just thought that anything that can be rolled into the engine would be
> faster and
> usually every tick/millisecond that can be gained is worth having in
Thanks,
That is a good solution which will also apply to Max.
I just thought that anything that can be rolled into the engine would be faster
and
usually every tick/millisecond that can be gained is worth having in an
interpreted language.
Thanks again
Terry
> On 28 Feb 2016, at 11:14,
What about this?
return min( replaceText( myListOfNumbers, "\n",comma))
2016-02-28 12:05 GMT+01:00 Terence Heaford :
>
> I thought Min may work with the itemDelimiter but apparently not.
>
> Is that something that would be useful?
>
> set the itemDelimiter to return
>
>
I thought Min may work with the itemDelimiter but apparently not.
Is that something that would be useful?
set the itemDelimiter to return
return Min (myListOfNumbers) — based on return not comma
All the best
Terry
___
use-livecode mailing list