@Tachyon,
Whilst yours looks smaller than mine. Yours has to go through every If statment every time, whereas mine stops going through them when the condition is satisfied.
(If you wish to counter argue that mine has all those additions, I would point out that so does yours, but you just havent put them in. ie you ether pre calculate the "Weights" or you dont)
Whilst yours looks smaller than mine. Yours has to go through every If statment every time, whereas mine stops going through them when the condition is satisfied.
(If you wish to counter argue that mine has all those additions, I would point out that so does yours, but you just havent put them in. ie you ether pre calculate the "Weights" or you dont)