Perlin noise benchmark speed

Robert Schadek via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 06:03:26 PDT 2014


On 06/20/2014 02:56 PM, David Nadlinger via Digitalmars-d wrote:
> On Friday, 20 June 2014 at 12:34:55 UTC, Nick Treleaven wrote:
>> On 20/06/2014 13:32, Nick Treleaven wrote:
>>> It apparently shows the 3 main D compilers producing slower code than
>>> Go, Rust, gcc, clang, Nimrod:
>>
>> Also, it does appear to be using the correct compiler flags (at least
>> for dmd):
>> https://github.com/nsf/pnoise/blob/master/compile.bash
>
> -release is missing, although that probably isn't playing a big role
> here.
>
> Another minor issues is that Noise2DContext isn't final, making the
> calls to get virtual.
>
> This should cause such a big difference though. Hopefully somebody can
> investigate this more closely.
>
> David
I converted Noise2DContext into a struct, I gone add some more to my patch


More information about the Digitalmars-d mailing list