Perlin noise benchmark speed

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 20 08:09:13 PDT 2014


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


More information about the Digitalmars-d mailing list