On Mon, Jun 6, 2011 at 11:48 AM, Ethan Furman <et...@stoneleaf.us> wrote: > I like the readability of this version, but isn't generating an exception on > every other line going to kill performance?
I timed it on the example data before I posted and found that it was still 10 times as fast as the regex version. I didn't time the version without the exceptions. -- http://mail.python.org/mailman/listinfo/python-list