I don't have the hardware in front of me at the moment, but I've noticed, that in the faster version of the code the r is never returned by the transfer function, so I was wondering if that's the reason why that code runs faster, since once again the value fetched isn't used? But then it doesn't...