diff options
author | jmmv <jmmv@pkgsrc.org> | 2012-10-13 15:31:23 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2012-10-13 15:31:23 +0000 |
commit | a95d3bd5efa293647cec67c66f414ef746394e5c (patch) | |
tree | a2f49df80baad85e6e5890ae951bc309e65a339d /lang/ocaml | |
parent | 361625efbe828a8014d872d7eb221192b7588114 (diff) | |
download | pkgsrc-a95d3bd5efa293647cec67c66f414ef746394e5c.tar.gz |
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).
Diffstat (limited to 'lang/ocaml')
0 files changed, 0 insertions, 0 deletions