Ed: Again I appreciate your taking the time to explain this. What Uwe may not be aware of is that you know very well I can figure out how to do this using algorithms I have learned using other languages - FoxPro comes to mind - but you also know that I am learning Python and your answers to my questions have that in mind. Python has some very powerful tools that don't compare to anything I have used before.
Jeff Jeff Johnson [EMAIL PROTECTED] SanDC, Inc. 623-582-0323 Fax 623-869-0675 Ed Leafe wrote: > On Sep 24, 2007, at 2:24 PM, Uwe Grauer wrote: > >> Plain loops are a lot faster and do not consume such a lot of memory. > > There are much more efficient ways of writing it, but my goal wasn't > to eke out every last bit of performance. This was an instructional > reply, and the code was chosen so as to illustrate several key > concepts. There are several other variations that use generators that > could also work and would likely be more efficient, but I chose the > straight iterables approach so that the intermediate results could be > displayed. > > -- Ed Leafe > -- http://leafe.com > -- http://dabodev.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
