lix/src/libexpr
Eelco Dolstra 2d663b502d * Cache the result of file evaluation (i.e, memoize evalFile()). This
prevents files from being evaluated and stored as values multiple
  times.  For instance, evaluation of the ‘system’ attribute in NixOS
  causes ‘nixpkgs/pkgs/lib/lists.nix’ to be evaluated 2019 times.

  Caching gives a modest speedup and a decent memory footprint
  reduction (e.g., from 1.44s to 1.28s, and from 81 MiB to 59 MiB with
  GC_INITIAL_HEAP_SIZE=100000 on my system).
2011-08-06 19:45:43 +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 * Add a Nix expression search path feature. Paths between angle 2011-08-06 16:05:24 +00:00
common-opts.hh * Add a Nix expression search path feature. Paths between angle 2011-08-06 16:05:24 +00:00
eval.cc * Cache the result of file evaluation (i.e, memoize evalFile()). This 2011-08-06 19:45:43 +00:00
eval.hh * Cache the result of file evaluation (i.e, memoize evalFile()). This 2011-08-06 19:45:43 +00:00
get-drvs.cc * Keep attribute sets in sorted order to speed up attribute lookups. 2010-10-24 19:52:33 +00:00
get-drvs.hh * DrvInfo contains pointers to expressions, so DrvInfos should be 2010-11-25 13:47:34 +00:00
lexer.l * Add a Nix expression search path feature. Paths between angle 2011-08-06 16:05:24 +00:00
Makefile.am * Refactoring: move parseExprFromFile() and parseExprFromString() into 2011-08-06 13:02:55 +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 * Allow a default value in attribute selection by writing 2011-07-13 12:19:57 +00:00
nixexpr.hh * Allow a default value in attribute selection by writing 2011-07-13 12:19:57 +00:00
parser.y * Handle the case where the search path element is a regular file. 2011-08-06 18:45:28 +00:00
primops.cc * Refactoring: move parseExprFromFile() and parseExprFromString() into 2011-08-06 13:02:55 +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 * Keep attribute sets in sorted order to speed up attribute lookups. 2010-10-24 19:52:33 +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