On Tue, 13 Feb 2018, Sven Schreiber wrote:
Am 13.02.2018 um 03:43 schrieb Allin Cottrell:
> <output>
> Julia: 2.71788600 (time 1.18078s)
> Native: 2.71811500 (time 2.02987s)
However, let me repeat Artur's (and Henrique's) observation here that
you will see a bigger divergence between Julia and Native when you
replace 10^6 with 10^7 or 10^8; the Native implementation will just
scale up linearly, but not the JITted Julia version.
Yes, that's certainly noteworthy.
> alt gretl: 2.71828183 (time 0.00012595s)
Unfair! ;-)
Of course.
> But given how fast Julia is at generating random floating-point
values,
> it seems to me there should be a real live example not far off.
Yes. Again, I suggest to tackle the SB.gfn package as a benchmark.
Would make an interesting test case.
Allin