diff options
author | Mark H Weaver <mhw@netris.org> | 2016-03-09 01:23:53 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-08-09 17:59:26 -0400 |
commit | 5a1add373ab427a3b336981d857252e703a9f8d1 (patch) | |
tree | 8f8da6f332499c5f4ee6153129917b52a3a4259c /gnu/system/linux-container.scm | |
parent | ba6d25f3b953392136ead2f1ca8af71466da2dae (diff) | |
download | guix-5a1add373ab427a3b336981d857252e703a9f8d1.tar guix-5a1add373ab427a3b336981d857252e703a9f8d1.tar.gz |
grafts: Make grafting faster.
* guix/build/graft.scm (replace-store-references): Reimplement for
faster grafting. Use binary I/O instead of textual I/O. Replace
'mapping' argument (an alist) with 'replacement-table' (a vhash).
(rewrite-directory): Adapt to mapping argument change in
'replace-store-references'. Remove 'with-fluids' that previously set
'%default-port-encoding' to #f, since we now use binary I/O.
(define-inline, hash-length): New macros.
(nix-base32-char?): New variable.
Diffstat (limited to 'gnu/system/linux-container.scm')
0 files changed, 0 insertions, 0 deletions