[Python-ideas] Parametrized any() and all() ?

Tarek Ziadé tarek at ziade.org
Fri Jan 18 13:30:15 CET 2013


On 1/16/13 7:47 PM, Antoine Pitrou wrote:
> You know, discussing performance without posting benchmark numbers is 
> generally pointless.

Sure, yes, so I tried to implement it by adapting the current any() :

http://tarek.pastebin.mozilla.org/2068630

but it is 20% slower in my benchmark. However, I have no idea  if my 
implementation is the right way to do things.

Cheers
Tarek

-- 
Tarek Ziadé · http://ziade.org · @tarek_ziade




More information about the Python-ideas mailing list