join: improve performance when operating on whole lines
commit126d59542f89774a4c331a6a52b4c5dce4fce25e
authorPádraig Brady <P@draigBrady.com>
Tue, 31 Aug 2010 07:38:34 +0000 (31 08:38 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 1 Sep 2010 15:12:45 +0000 (1 16:12 +0100)
tree7b7907103b1b1c14737c9bc2c33b95f44e21f148
parent777024889c0043004962834f4d9353cfa6847dd6
join: improve performance when operating on whole lines

Following on from commit f86bb696, 01-02-2010,
"join: make -t '' operate on the whole line".
Bypassing the delimiter search in this case,
gives about an 8% performance boost.

* src/join (xfields): Don't bother looking for '\n'
in the data, which we know won't be present.
src/join.c