diff options
author | Vincent Ambo <mail@tazj.in> | 2023-01-13T17·19+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-01-13T18·01+0000 |
commit | a35dadf9f0c7c98d2ae8761428936a0b9d30489e (patch) | |
tree | bf05125f09832e0e701f75a0bab401b486b10548 /nix/escapeExecline | |
parent | 9a500c3e9bb502a08670fbecf593c98eb6d62358 (diff) |
refactor(tvix/derivation): use BTreeSet for derivation outputs r/5657
When constructing derivations inside builtins.derivationStrict, we'd have to very frequently check whether certain outputs have already been inserted into the derivation inputs. Using a set type is much easier, especially as this has to be ordered and the source data that is being inserted also comes from a set, which might let us pass this more efficiently in the future. Note that the validate function no longer checks the order of the entries, as that is now guaranteed by the type. Change-Id: I2fbb984facba3e668075f6f8df8992092368c63d Reviewed-on: https://cl.tvl.fyi/c/depot/+/7826 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'nix/escapeExecline')
0 files changed, 0 insertions, 0 deletions