On 06/22/2014 11:03 AM, pyt...@bdurham.com wrote:
Should I have any performance concerns with the index position used to pop() values off of large lists? In other words, should pop(0) and pop() be time equivalent operations with long lists?
I believe lists are optimized for adding and removing items from the end, so anywhere else will have an impact. You'll have to do measurements to see if the impact is worth worrying about in your code.
-- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list