On 17 Des, 18:37, Carlos Grohmann <carlos.grohm...@gmail.com> wrote: > Tenting the time spent by each approach (using time.clock()), with a > file with about 100,000 entries, I get 0.03s for the loop and 0.05s > for the listcomp. > > thoughts?
Let me ask a retoric question: - How much do you really value 20 ms of CPU time? -- http://mail.python.org/mailman/listinfo/python-list