In article <[EMAIL PROTECTED]>, runsun pan <[EMAIL PROTECTED]> wrote: . . . >Secondly, [x+y for x,y in itertools.izip(xs, ys)] did go much faster >than map(lambda x,y: x+y, xs, ys). The latter is not only the slowest >one, but with an amazingly slow speed of 15 times slowdown. >
If I understand the story correctly, this reflects Raymond Hettinger's extraordinary achievement in making all things iter* really, really quick. -- http://mail.python.org/mailman/listinfo/python-list