Re: absolute function
- Posted by mattlewis (admin) Mar 18, 2011
- 3844 views
jaygade said...
Dang, I'd forgotten how many times this has gone around.
The messages you linked have a link which goes back even further: ABS (Changed link from listfilter to rapideuphoria).
Ah, memories.
Yeah, it comes up every few years.
In any case, benchmarking Vinoba's function vs std/math.e, I get different results (same benchmark as he posted, different reps...times are seconds):
Interpreter | Vinoba | std/math.e |
---|---|---|
4.0.0 | 2.01 | 1.69 |
4.0.1 | 1.35 | 1.07 |
4.1 (64-bits) | 1.34 | 1.07 |
I believe that the 4.0.0 interpreter was built with an older version of gcc (whatever versions ship with Debian 5 vs Kubuntu 10.10). Newer versions seem much better for euphoria performance, in my experience. Still, in each case, the std/math.e version outperforms.
Matt