lorca/flat_file_benchmark — Issue #5: another python improvement
Author: elus
Created: 2012-02-19 18:58:24+00:00
State: open

My Python (2.7.2 from Macports) performs better when list comprehensions is used (instead of list.append):

```
import sys

with open(sys.argv[1]) as f:
rows = [tuple(line[:-1].split("\t")) for line in f]
print ",".join(rows[1])
```