[Metakit] Performance comparison Q

Jean-Claude Wippler jcw at equi4.com
Mon May 9 19:24:38 CEST 2005


Brian Kelley wrote:


> python:
> ======
> import operator
> data = range(50000) # test data
>
> result = sum(data)
>

Nice, of course.

What about arbitrary operators, not just summation.  I'm trying to  
stress generic looping, as well as see how well lists, ints, and  
addition work together.  Sorry for the confusion.

-jcw




More information about the Metakit mailing list