Parsing text files is often confusing irrespective of your programming language. It can also be surprising slow.| Daniel Lemire's blog