On 06/20/2017 12:42 AM, SrMordred wrote:
I took a deeper look into dub.
"--build=release" make almost all optimizations flags on, except
noboundscheck.
There is a "--build=release-nobounds" and with it, the numbers got a lot
closer (checked on another pc so will not post the numbers now)
Note
On Monday, 19 June 2017 at 19:06:57 UTC, ag0aep6g wrote:
For me, alias_fun and op_apply are very close. If anything,
alias_fun seems to be slightly faster.
Typical output (ldc2 -release -O3):
Avoiding bounds checking makes it faster for me (but is unsafe
of course):
I took a deeper look
On 06/19/2017 07:42 PM, SrMordred wrote:
I was playing around my ES and different ways of doing it with D.
I end up with a performance test of alias func vs ranges vs opApply.
code here:
https://dpaste.dzfl.pl/a2eff240552f
Results on my machine win 10 x64, compiling with:
dub run --build=relea
You may find this interesting
https://github.com/MrSmith33/datadriven
I was playing around my ES and different ways of doing it with D.
I end up with a performance test of alias func vs ranges vs
opApply.
code here:
https://dpaste.dzfl.pl/a2eff240552f
Results on my machine win 10 x64, compiling with:
dub run --build=release --arch=x86 --compiler=ldc2
(unable to