On 11/08/2011 04:51 PM, John Posner wrote:
On 2:59 PM, Chris Angelico wrote:
So really, it's not "all() is slow" but "function calls are slow".
Maybe it'd be worthwhile making an all-factory:
PLEASE say you're joking. If I saw code like that on any of our project,
this would definitely qualify for a DailyWTF.
For the benefit of anyone who was actually in doubt: YES, I was
joking. Do *not* put code like this into any production project.
Because an all-factory would produce code smell? :-)
Groan...that word-play is the pits! :)
-tkc
--
http://mail.python.org/mailman/listinfo/python-list