miniblog.
← Back to all posts
Wilfred Hughes
Dec 17, 2015 at 19:48
Python trivia: x+(1+1) is faster than x+1+1 because the former bytecode can be optimised. The latter cannot because x may have __add__.