CVS commit: src/usr.bin/cmp

2025-01-11 Thread Simon Burge
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

CVS commit: src/usr.bin/cmp

2025-01-11 Thread Simon Burge
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