snix/third_party/nix/src
Vincent Ambo 85a05a6f38 fix(3p/nix/libexpr): Remove the global empty attribute set
In the change to the backing structure of attribute sets, the
requirement to manually balance the capacity of the structure went
away.

This is a) because Abseil's data structures manage this on their own,
and b) because the new Bindings class is allocated using `new (GC)`
rather than writing into a predefined memory area.

As part of this change functions related to the capacity were
deprecated and set to 0 values, which in turn caused the creation of
new attribute sets to return the same (mutable!) default value in
various cases, leading to "side effects" that caused evaluation
failures.

FWIW, I'm not sure if this optimisation had noticeable performance
impact, but while untangling libexpr it definitely doesn't help trying
to follow what it's doing - so bye, bye!
2020-05-23 06:18:20 +01:00
..
build-remote refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
cpptoml Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
libexpr fix(3p/nix/libexpr): Remove the global empty attribute set 2020-05-23 06:18:20 +01:00
libmain refactor(3p/nix): Apply clang-tidy's performance-* fixes 2020-05-20 22:58:43 +01:00
libstore refactor(3p/nix): Apply clang-tidy's performance-* fixes 2020-05-20 22:58:43 +01:00
libutil refactor(3p/nix/libexpr): Use std::string as qualified type 2020-05-21 05:43:22 +01:00
nix refactor(3p/nix/libexpr): state->allocBindings -> Bindings::NewGC 2020-05-22 16:57:36 +01:00
nix-build chore(3p/nix): Minor fixes to get rid of warnings 2020-05-21 00:24:12 +01:00
nix-channel refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
nix-collect-garbage refactor(3p/nix): Apply clang-tidy's performance-* fixes 2020-05-20 22:58:43 +01:00
nix-copy-closure style(3p/nix): Final act in the brace-wrapping saga 2020-05-19 20:51:32 +01:00
nix-daemon refactor(3p/nix): Apply clang-tidy's performance-* fixes 2020-05-20 22:58:43 +01:00
nix-env refactor(3p/nix/libexpr): state->allocBindings -> Bindings::NewGC 2020-05-22 16:57:36 +01:00
nix-instantiate refactor(3p/nix): Apply clang-tidy's readability-* fixes 2020-05-20 22:27:37 +01:00
nix-prefetch-url fix(3p/nix): Update for usage of new attribute set API 2020-05-22 01:59:39 +01:00
nix-store refactor(3p/nix): Apply clang-tidy's performance-* fixes 2020-05-20 22:58:43 +01:00
nlohmann Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
meson.build chore(3p/nix): Remove OSX only 'resolve-system-dependencies' tool 2020-05-19 20:34:12 +01:00