Perlin noise benchmark speed

dennis luehring via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 11:32:24 PDT 2014


Am 20.06.2014 17:09, schrieb bearophile:
> Nick Treleaven:
>
>> A Perlin noise benchmark was quoted in this reddit thread:
>>
>> http://www.reddit.com/r/rust/comments/289enx/c0de517e_where_is_my_c_replacement/cibn6sr
>
> This should be compiled with LDC2, it's more idiomatic and a
> little faster than the original D version:
> http://dpaste.dzfl.pl/8d2ff04b62d3
>
> I have already seen that if I inline Noise2DContext.get in the
> main manually the program gets faster (but not yet fast enough).
>
> Bye,
> bearophile
>

it does not makes sense to "optmized" this example more and more - it 
should be fast with the original version (except the missing finals on 
the virtuals)


More information about the Digitalmars-d mailing list