squeeze out some performance

Dave Angel davea at davea.name
Mon Dec 9 15:46:16 EST 2013


On Mon, 09 Dec 2013 15:54:36 +0000, Robin Becker 
<robin at reportlab.com> wrote:
> On 06/12/2013 22:07, Joel Goldstick wrote:
> >      end, start = start, end

> a similar behaviour for simple assignments

> for less than 4 variables the tuple method is faster.

What does speed have to do with it?  When you want to swap two 
variables,  the tuple assignment reads better.

-- 
DaveA




More information about the Python-list mailing list