In article <1112200377.855627.236440 at z14g2000cwz.googlegroups.com>, runsun pan <runsun at gmail.com> 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.
Recent Messages in this Thread | ||
---|---|---|