Dont use exceptions for flow control.
Merge pull request #7 from robincurry/feature/perf

Dont use exceptions for flow control.