lix/src/libstore
Eelco Dolstra 8463f27d8c * Fix NIX-23: quadratic complexity in maintaining the referers
mapping.  The referer table is replaced by a referrer table (note
  spelling fix) that stores each referrer separately.  That is,
  instead of having

    referer[P] = {Q_1, Q_2, Q_3, ...}

  we store

    referer[(P, Q_1)] = ""
    referer[(P, Q_2)] = ""
    referer[(P, Q_3)] = ""
    ...

  To find the referrers of P, we enumerate over the keys with a value
  lexicographically greater than P.  This requires the referrer table
  to be stored as a B-Tree rather than a hash table.

  (The tuples (P, Q) are stored as P + null-byte + Q.)

  Old Nix databases are upgraded automatically to the new schema.
2005-12-12 18:24:42 +00:00
..
build.cc * Did something useful while waiting at IAD: reference scanning is now 2005-11-16 08:27:06 +00:00
build.hh * It is now possible to add store derivations or paths directly to a 2005-02-14 17:35:10 +00:00
db.cc * Fix NIX-23: quadratic complexity in maintaining the referers 2005-12-12 18:24:42 +00:00
db.hh * Fix NIX-23: quadratic complexity in maintaining the referers 2005-12-12 18:24:42 +00:00
derivations-ast.def * Automatically upgrade <= 0.7 Nix stores to the new schema (so that 2005-02-09 09:50:29 +00:00
derivations.cc * Maintain the references/referers relation also for derivations. 2005-01-25 21:28:25 +00:00
derivations.hh * Another change to low-level derivations. The last one this year, I 2005-01-20 14:10:19 +00:00
gc.cc * Ignore (with a warning) invalid garbage collector roots. 2005-05-10 14:56:10 +00:00
gc.hh * Move root finding from nix-collect-garbage' to nix-store --gc'. 2005-02-01 15:05:32 +00:00
globals.cc * Beginning of secure multi-user Nix stores. If Nix is started as 2005-10-17 15:33:24 +00:00
globals.hh * Beginning of secure multi-user Nix stores. If Nix is started as 2005-10-17 15:33:24 +00:00
Makefile.am * Build dynamic libraries. 2005-07-22 14:52:45 +00:00
misc.cc * It is now possible to add store derivations or paths directly to a 2005-02-14 17:35:10 +00:00
pathlocks.cc * Don't delete active lock files. 2005-01-31 12:19:53 +00:00
pathlocks.hh * Make lock removal safe by signalling to blocked processes that the 2005-01-27 12:19:25 +00:00
references.cc * Did something useful while waiting at IAD: reference scanning is now 2005-11-16 08:27:06 +00:00
references.hh * Did something useful while waiting at IAD: reference scanning is now 2005-11-16 08:27:06 +00:00
store.cc * Fix NIX-23: quadratic complexity in maintaining the referers 2005-12-12 18:24:42 +00:00
store.hh * Fix NIX-23: quadratic complexity in maintaining the referers 2005-12-12 18:24:42 +00:00
test-builder-1.sh * libnix -> libstore. 2003-11-18 10:55:27 +00:00
test-builder-2.sh * libnix -> libstore. 2003-11-18 10:55:27 +00:00