summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2016-03-09 01:23:53 -0500
committerMark H Weaver <mhw@netris.org>2016-08-09 17:59:26 -0400
commit5a1add373ab427a3b336981d857252e703a9f8d1 (patch)
tree8f8da6f332499c5f4ee6153129917b52a3a4259c /gnu
parentba6d25f3b953392136ead2f1ca8af71466da2dae (diff)
downloadguix-patches-5a1add373ab427a3b336981d857252e703a9f8d1.tar
guix-patches-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')
0 files changed, 0 insertions, 0 deletions