[Nix-dev] [Nix-commits] SVN commit: nix - r31230 - in nix/branches/multiple-outputs-sandbox: corepkgs src/libexpr
Shea Levy
shea at shealevy.com
Tue Jan 3 17:06:49 CET 2012
Hi Eelco
On 1/3/12 9:01 AM, Eelco Dolstra wrote:
> Author: eelco
> Date: Tue Jan 3 14:01:47 2012
> New Revision: 31230
> URL: https://nixos.org/websvn/nix/?rev=31230&sc=1
>
> Log:
> * Move the implementation of the ‘derivation’ primop into a separate
> file.
Snip
> + mkThunk_(v, parseExprFromFile(findFile("nix/derivation.nix")));
> addConstant("derivation", v);
>
I'm no expert on performance issues, but couldn't adding an extra file
read for each evaluation of the derivation function have some bad
consequences compared to having the string stored in the binary itself?
~Shea
More information about the nix-dev
mailing list