pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2012Q3] pkgsrc/mk/checksum
Module Name: pkgsrc
Committed By: tron
Date: Tue Nov 6 09:55:38 UTC 2012
Modified Files:
pkgsrc/mk/checksum [pkgsrc-2012Q3]: checksum
Log Message:
Pullup ticket #3960 - requested by jmmv
mk/checksum: build time speedup for packages with a large number of patches
Revisions pulled up:
- mk/checksum/checksum 1.13
---
Module Name: pkgsrc
Committed By: jmmv
Date: Sat Oct 13 15:31:23 UTC 2012
Modified Files:
pkgsrc/mk/checksum: checksum
Log Message:
Speed up the algorithm to determine the files left to check.
This change modifies the algorithm used to keep track of the files that
have not yet been checksummed to use a simple loop instead of shell pattern
matching.
For packages with few distinfo entries, either way yields the same result
as the list of files to check is very short. But for those packages with
hundreds of distinfo entries (vim, I'm looking at you), the difference is
huge. In my old macppc machine, the checksum of vim used to take around
40 minutes and now it takes ~35 seconds. The difference is also clearly
visible in my faster amd64 machine (although I haven't bothered to time it).
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.46.1 pkgsrc/mk/checksum/checksum
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