reduce()--what is it good for? (was: Re: reduce() anomaly?)
Bob Gailer
bgailer at alum.rpi.edu
Tue Nov 11 14:34:31 EST 2003
More information about the Python-list mailing list
Tue Nov 11 14:34:31 EST 2003
- Previous message (by thread): Python's simplicity philosophy
- Next message (by thread): reduce()--what is it good for? (was: Re: reduce() anomaly?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I am glad to hear others rise to the "defense" of reduce(). I too am reluctant to see it leave the language, as I'd have to rewrite some of my code to accommodate the change. The use of zip(seq[1:], [:-1]) to me is more obscure, and memory/cpu-expensive in terms of creating 3 new lists. Bob Gailer bgailer at alum.rpi.edu 303 442 2625 -------------- next part -------------- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003
- Previous message (by thread): Python's simplicity philosophy
- Next message (by thread): reduce()--what is it good for? (was: Re: reduce() anomaly?)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list