"lallous" <lall...@lgwm.org> wrote in message news:ha2htc$u9...@aioe.org...
> Hello
>
> What is faster when clearing a list?
>
> del L[:]
>
> or
>
> L = []
>

Oh, "L = []" definitely, on the basis that there are fewer characters to 
type.


http://docs.python.org/3.1/library/profile.html

-- 
Geoff 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to