Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/cmp
Module Name: src
Committed By: simonb
Date: Sun Jan 12 06:38:21 UTC 2025
Modified Files:
src/usr.bin/cmp: regular.c
Log Message:
Make cmp -s and cmp -l much faster by comparing blocks and skipping any
line number calculations not needed. Approx 3-4x faster for two multi-GB
in-cache files on my Zen 3.
Restores the spirit of a NetII optimisation lost with 4.4lite2 import
in 1995.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/cmp/regular.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index