]> git.tuebingen.mpg.de Git - paraslash.git/commit - string.c
string.c: Simplify and improve for_each_line().
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 2 Oct 2014 21:12:34 +0000 (21:12 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 18 Jan 2015 14:45:49 +0000 (15:45 +0100)
commite833dd12e607e9e5951a657d6e99f19adddefb7d
tree6f0e3ed7a29636309ff8e344b32821a190a58436
parent66cfa4ab3cd509b1b7d1b5fb860fc4644a2313ab
string.c: Simplify and improve for_each_line().

Much faster for large buffers. Idea: Search for zero byte
only until next cr.
string.c