diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-03-16 16:46:46 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-03-16 16:48:22 +0100 |
commit | d80855999a81f344ca0c994f0532f5bd45162089 (patch) | |
tree | 06eb7f5b60749aac5e9c8e6bd63836afae53e88f /m4 | |
parent | 993fb66dd2f3087fef12c3f3f31e42485dfeb1bf (diff) | |
download | guix-d80855999a81f344ca0c994f0532f5bd45162089.tar.gz guix-d80855999a81f344ca0c994f0532f5bd45162089.zip |
derivations: Optimize `write-derivation'.
This reduces the execution time of
"guix build -e '(@ (gnu packages emacs) emacs)' -d" by 25%, from
1.54 s. to 1.15s.
* guix/derivations.scm (write-sequence, write-list, write-tuple): New
procedures.
(write-derivation)[list->string, write-list]: Remove.
[write-string-list, write-output, write-input, write-env-var]: New helpers.
Rewrite in terms of these new helpers.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions