summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-01-17 12:36:58 +0100
committerJim Meyering <meyering@redhat.com>2011-01-17 19:07:58 +0100
commitbdaef0686fabc1900c4b3686de17a3ffd9f4d847 (patch)
treebeacc529fd5eb7b408518178eb69b545181f7085 /doc/coreutils.texi
parent1f0653066c58707a210f52164e16bb5561640393 (diff)
downloadcoreutils-bdaef0686fabc1900c4b3686de17a3ffd9f4d847.tar.xz
uniq: replace a wasteful loop with simple calculation
* src/uniq.c (find_field): Remove the byte-skipping loop altogether. Instead, perform the simple calculation. This results in a 10% performance improvement for large byte offsets.
Diffstat (limited to 'doc/coreutils.texi')
0 files changed, 0 insertions, 0 deletions