"Ishwor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > I have just wrote a small script to compare the speed of list addition > methods.
There are two meanings of 'list addition': li = li+[item] *copies* the list and adds item li += [item] is the same as li.extend([item]) which add item to the end of the list *without* copying. Of course, extending a list is faster than copying + one more. Terry J. Reedy -- http://mail.python.org/mailman/listinfo/python-list