Optimizing an Imaginary Sprite Part 8

Date: 2016-03-28 01:38:14

<< Previous | TOC | Next >>

Longer and faster

Another fantastic version to look at. Faster just got bigger and faster. I just got this one today from Hugo Dufort. Simon's sprite6c clocked in at 12.31 seconds to complete 10,000 iterations. This new routine is coming in at 11.78 seconds. Nice!

Hugo describes himself as an algorithm-oriented guy, very fond of discrete maths and logic. As such, he drew up a couple decision trees. One is shown here.

Finally, the code.


<< Previous | TOC | Next >>

Copyright © 2020, Lee Patterson