Deleting the first element of a list

JB jb at yahoo.de
Wed Oct 2 18:36:10 EDT 2002


Is using del to delete the first element (that is, the 0th 
element) of a list faster than x = x[1:]?

-- 
J.... B....


-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----



More information about the Python-list mailing list