diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-01-24 22:39:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-01-24 23:56:43 +0100 |
commit | 01e5d63c87b6b110f0632597e89a6a7476fc7d1c (patch) | |
tree | b8fbe04b4bd36eee94cd802ddc401aa94b3b185b /TODO | |
parent | 09238d618a511de80de189ff3ff18bfa0f280bb9 (diff) | |
download | patches-01e5d63c87b6b110f0632597e89a6a7476fc7d1c.tar patches-01e5d63c87b6b110f0632597e89a6a7476fc7d1c.tar.gz |
serialization: 'read-byte-string' makes a single read(2) call.
On "guix build libreoffice -nd", this reduces the number of read(2)
system calls from 10,434 to 8092.
* guix/serialization.scm (sub-bytevector): New procedure.
(read-byte-string): Make a single 'get-bytevector-n*' call and use
'sub-bytevector'.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions