On Sun, 17 May 2009 20:34:00 +0200, Diez B. Roggisch wrote: >>> My math-skills are a bit too rusty to qualify the exact nature of the >>> operation, commutativity springs to my mind. >> >> And how is reduce() supposed to know whether or not some arbitrary >> function is commutative? > > I don't recall anybody saying it should know that - do you? The OP wants > to introduce parallel variants, not replace the existing ones.
Did I really need to spell it out? From context, I'm talking about the *parallel version* of reduce(). -- Steven -- http://mail.python.org/mailman/listinfo/python-list