[Python-Dev] (back to): Linked lists -- (was: deque alternative) (original) (raw)
Raymond Hettinger raymond.hettinger at verizon.net
Wed Dec 28 04:24:06 CET 2005
- Previous message: [Python-Dev] (back to): Linked lists -- (was: deque alternative)
- Next message: [Python-Dev] Small any/all enhancement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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
- Previous message: [Python-Dev] (back to): Linked lists -- (was: deque alternative)
- Next message: [Python-Dev] Small any/all enhancement
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]