A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-December/059155.html below:

[Python-Dev] (back to): Linked lists -- (was: deque alternative)

[Python-Dev] (back to): Linked lists -- (was: deque alternative) [Python-Dev] (back to): Linked lists -- (was: deque alternative)Raymond Hettinger raymond.hettinger at verizon.net
Wed Dec 28 04:24:06 CET 2005
[Martin Blais]
> Now, it's not all about storage space.  What about front-insertion?
> Everytime I have to type L.insert(0, bli), somewhere that I know runs
> "often" I cringe.  If I had lists I would be able to express my
> thoughts more clearly in the computer program.  Right now, I cringe,
> and then I just shrug.

Doesn't collections.deque() meet your front-insertion needs?


Raymond

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4