lix/src/libexpr
Eelco Dolstra 0b305c534f * Store attribute sets as a vector instead of a map (i.e. a red-black
tree).  This saves a lot of memory.  The vector should be sorted so
  that names can be looked up using binary search, but this is not the
  case yet.  (Surprisingly, looking up attributes using linear search
  doesn't have a big impact on performance.)

  Memory consumption for

    $ nix-instantiate /etc/nixos/nixos/tests -A bittorrent.test --readonly-mode

  on x86_64-linux with GC enabled is now 185 MiB (compared to 946
  MiB on the trunk).
2010-10-24 00:41:29 +00:00
..
attr-path.cc * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
attr-path.hh * Store Value nodes outside of attribute sets. I.e., Attr now stores 2010-10-22 14:47:42 +00:00
common-opts.cc * Store Value nodes outside of attribute sets. I.e., Attr now stores 2010-10-22 14:47:42 +00:00
common-opts.hh * Update autoCallFunction() and findAlongAttrPath(). 2010-04-07 15:47:06 +00:00
eval.cc * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
eval.hh * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
get-drvs.cc * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
get-drvs.hh * Store Value nodes outside of attribute sets. I.e., Attr now stores 2010-10-22 14:47:42 +00:00
lexer.l * Optimise string constants by putting them in the symbol table. 2010-10-23 21:11:59 +00:00
Makefile.am * Store Value nodes outside of attribute sets. I.e., Attr now stores 2010-10-22 14:47:42 +00:00
names.cc * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
names.hh * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
nix.sdf First attempt to update Nix SDF grammar to match the actual bison grammar 2008-06-04 14:36:46 +00:00
nixexpr.cc * Store Value nodes outside of attribute sets. I.e., Attr now stores 2010-10-22 14:47:42 +00:00
nixexpr.hh * Optimise string constants by putting them in the symbol table. 2010-10-23 21:11:59 +00:00
parser.hh * Use a symbol table to represent identifiers and attribute names 2010-04-13 12:25:42 +00:00
parser.y * Optimise string constants by putting them in the symbol table. 2010-10-23 21:11:59 +00:00
primops.cc * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
symbol-table.hh * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
value-to-xml.cc * Store attribute sets as a vector instead of a map (i.e. a red-black 2010-10-24 00:41:29 +00:00
value-to-xml.hh * Make sure that config.h is included before the system headers, 2010-10-04 17:55:38 +00:00