2 ms·
You're using python3. My brief experiments showed it actually ran faster in python2. You might want to re-run your experiments to see if I've done anything st
by ColinWright 8y ago
You're using python3. My brief experiments showed it actually ran faster in python2. You might want to re-run your experiments to see if I've done anything stupid with that test.
But definitely it seemed that python2 and python3 had significantly different performance.
- Ysx 8y agoOh you're right, that's interesting - have replicated your result. "a2 = a2+c; c = c+2" is still fastest on both 2 and 3, though don't know enough to say why.
- joshuamorton 8y agoTry python 3.7, iirc it should be faster again