faster processing by using each_line instead of each_char

much faster:

master:
```
  9.810000   0.080000   9.890000 (  9.973975)
```

this PR
```
  2.760000   0.060000   2.820000 (  2.841250)
````