forked from lix-project/lix
cae41eebff
The boolean is only used to determine if the formals are set to a non-null pointer in all our cases. We can get rid of that allocation and instead just compare the pointer value with NULL. Saving up to sizeof(bool) + platform specific alignment per ExprLambda instace. Probably not a lot of memory but perhaps a few kilobyte with nixpkgs? This also gets rid of a potential issue with dereferencing formals based on the value of the boolean that didn't have to be aligned with the formals pointer but was in all our cases. |
||
---|---|---|
.. | ||
call-flake.nix | ||
config.cc | ||
flake.cc | ||
flake.hh | ||
flakeref.cc | ||
flakeref.hh | ||
lockfile.cc | ||
lockfile.hh |