Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73499

Are there performance concerns with popping from front of long lists vs. the end of long lists?

From python@bdurham.com
Subject Are there performance concerns with popping from front of long lists vs. the end of long lists?
Date 2014-06-22 14:03 -0400
Newsgroups comp.lang.python
Message-ID <mailman.11189.1403460233.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Are there performance concerns with popping from front of long lists vs. the end of long lists? python@bdurham.com - 2014-06-22 14:03 -0400

csiph-web