diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-25 15:46:22 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-03-01 17:45:51 +0100 |
commit | f293705d7e3202c1214875b5afedadadb065245c (patch) | |
tree | 0d6d84367fe32649c43d1021e7abe7c787100d81 /guix/import | |
parent | 9ce78f27a02b3a5fcaea2f0633404b940795989a (diff) |
serialization: Micro-optimize string literal output in 'write-file-tree'.
This reduces allocations and bit twiddling in the loop.
* guix/serialization.scm (write-literal-strings): New macro.
(write-file-tree): Use it in lieu of 'write-string' calls where applicable.
Diffstat (limited to 'guix/import')
0 files changed, 0 insertions, 0 deletions