3 ms·Wasn't quite as elegant though, and 10 instructions vs 8.by axod 16y agoWasn't quite as elegant though, and 10 instructions vs 8.jonsen 16y agoElegance is in the eye of the beholder. I found your first version easier to grasp.