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

Aahz aahz at pythoncraft.com
Tue Dec 27 19:21:16 CET 2005


On Tue, Dec 27, 2005, Martin Blais wrote:

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.

Why don't you just write your own list type? Why does this need to go into Python? Why should it be one of the builtin types instead of a library?

Please answer these questions on comp.lang.python, NOT python-dev.

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck (aka Robert Kern)



More information about the Python-Dev mailing list