From: Joel VanderWerf Date: 2008-03-28T05:23:21+09:00 Subject: Re: pypes Daniel Berger wrote: > > On Mar 27, 12:20 pm, "Martin DeMello" wrote: >> http://www.voidspace.org.uk/python/weblog/arch_d7_2008_03_22.shtml#e954 >> >> Nice example of what you can do with generators. Is this sort of thing >> doable efficiently in 1.9? > > some_date.filter1.filter2.action > > What is the advantage of data filters over method chaining in > practical terms? What am I missing? Apparently, PragDave's filters read one entry at a time, on demand (like unix pipes). Method chaining has to build a complete collection for each step. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407