Re: Performance comparison Q

Jean-Claude Wippler <[email protected]> Mon, 9 May 2005 18:24:38 +0200
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
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


_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit