about summary refs log tree commit diff
path: root/src/libutil/archive.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-03-01T10·33+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-03-01T10·33+0000
commitdb322a47ffb17be3f75ea864e0732d8f948aaf19 (patch)
tree7c3a52cbabaa1c8939811dd47d47f59ea8ce84a2 /src/libutil/archive.hh
parent2c4302dd7a437c3153d6de704fb5ddec004ea308 (diff)
* Use a weighted use heuristic to disambiguate between multiple
  occurances of a component.  If the shortest path distance between a
  component P and Q in the referers graph is D, then the contribution
  of Q to the use of P is 1 / R^D, where R >= 1, typically 2.  This
  expresses that distant indirect uses are less important than nearby
  uses.

  For instance, this can disambiguate between the bootstrap GCC in
  Nixpkgs and the GCC of the final stdenv (the former has more uses,
  but they are further away),  and between the GCC of the final stdenv
  and the GCC+G77 build (the latter has very few uses).

Diffstat (limited to 'src/libutil/archive.hh')
0 files changed, 0 insertions, 0 deletions