> . Multiple assignment is slower than individual assignment. For > example "x,y=a,b" is slower than "x=a; y=b". However, multiple > assignment is faster for variable swaps. For example, "x,y=y,x" is > faster than "t=x; x=y; y=t".
marginally faster in 2.4, a lot slower in earlier versions. maybe you should mark sections that rely on 2.4-specific optimizations, so that people who use earlier versions don't end up slowing their programs down... </F> _______________________________________________ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com