lix/src/libexpr/flake
Andreas Rammhold cae41eebff libexpr: remove matchAttrs boolean from ExprLambda
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.
2021-10-06 17:24:06 +02:00
..
call-flake.nix Represent 'follows' inputs explicitly in the lock file 2020-06-11 14:40:21 +02:00
config.cc Whitelist nixConfig.flake-registry 2021-08-07 14:42:59 +03:00
flake.cc libexpr: remove matchAttrs boolean from ExprLambda 2021-10-06 17:24:06 +02:00
flake.hh If we can't write a lock file, pretend the top-level flake is dirty 2021-09-15 18:31:42 +02:00
flakeref.cc Set input parent at construction time 2021-09-21 14:07:16 +02:00
flakeref.hh Switch comment format from '// ...' to '/* ... */' for consistency. 2020-09-28 09:37:26 -07:00
lockfile.cc In flake lock file diffs, show the last-modified date of inputs if available 2021-08-11 19:35:28 +02:00
lockfile.hh Capitalize JSON for consistency 2020-10-28 17:54:28 -05:00