Kieran P skrev:

This way, if you pull master you get bug fixed code, if you pull optimized, you get bug fixed code with new features.

Right. This is the case now; it's just a question of merging in master changes regularly.

Anyway, done profiling. Results at:

http://dl.sv.nongnu.org/releases/glob2/profiling.tar.bz2

Looks like the two functions it used to call (perlin noise and cloud compute (or something like that)), are now just one function (simplex noise) with about 6% less cpu used??

Well, DynamicClouds::compute() is still there, so the (absolute) savings seems to be down at 3%. But on the other hand, cloud computation is done about 50% more times - which probably means a 50% increase in the framerate? Anyway, not 6x speed according to these measurements, but still something :-)

The gains of eliminating floating point operations are somewhat machine dependent...

(Fwiw, my measurements are based on a program running both the old and new version at the same time, to ease comparison.)

/Erik


_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to