Fast attribute/list item extraction
Michael Hudson
mwh at python.net
Mon Dec 1 13:39:08 EST 2003
Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:
> "Raymond Hettinger" <vze4rx4y at verizon.net> writes:
> > Not only is the lambda unattractive, it is slow. This situation is
> > not unique to sort(), it comes up with other functionals like map()
> > and filter(). A new itertool called groupby() also faces the same
> > situation.
> >
> > So, the idea was born to add a fast extract function maker to the operator
> > module:
>
> Better to improve the compiler so that lambda makes good code.
Any ideas how to do that?
Cheers,
mwh
--
> With Python you can start a thread, but you can't stop it. Sorry.
> You'll have to wait until reaches the end of execution.
So, just the same as c.l.py, then?
-- Cliff Wells & Steve Holden, comp.lang.python
More information about the Python-list
mailing list