diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-16 21:46:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-23 15:24:48 +0100 |
commit | 4fa9d48fd47df45372fddf2251c3fc0afd48fda0 (patch) | |
tree | 251c7bcac03efdb64254f304d0fc2b72651637b1 /tests/ed25519bis.key | |
parent | fc6d6aee6659acb293eb33f498fdac3b47a19a48 (diff) | |
download | guix-4fa9d48fd47df45372fddf2251c3fc0afd48fda0.tar guix-4fa9d48fd47df45372fddf2251c3fc0afd48fda0.tar.gz |
gexp: 'gexp-inputs' returns both native and non-native inputs.
This avoids double traversal of references and extra bookkeeping,
thereby further reducing memory allocations.
* guix/gexp.scm (lower-gexp): Include only one call to 'lower-inputs'.
(gexp-inputs): Remove #:native? parameter.
[set-gexp-input-native?]: New procedure.
[add-reference-inputs]: Use it.
(gexp-native-inputs): Remove.
* tests/gexp.scm (gexp-native-inputs): Remove.
(gexp-input->tuple): Include 'gexp-input-native?'.
("let-system")
("let-system, nested")
("ungexp + ungexp-native")
("ungexp + ungexp-native, nested")
("ungexp + ungexp-native, nested, special mixture")
("input list")
("input list + ungexp-native")
("input list splicing")
("input list splicing + ungexp-native-splicing")
("gexp list splicing + ungexp-splicing"): Adjust accordingly.
Diffstat (limited to 'tests/ed25519bis.key')
0 files changed, 0 insertions, 0 deletions