Row code speedups
removed useless comment
restored the regex
Merge pull request #117 from michele-comitini/row_speedup2

Some speedups