diff options
author | edef <edef@edef.eu> | 2024-05-08T08·02+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2024-05-08T15·30+0000 |
commit | 17a7dac94f29d8151ecebfbf11d5b83cf0c4f415 (patch) | |
tree | 37dfb357b6d7b5a1f9695cb0a5518dbc22f26988 /ops | |
parent | b68ef475ee551c8efae41d4b901fd9648f9b8570 (diff) |
feat(nix-compat/wire/bytes): read bytes into an existing buffer r/8094
For small bytestrings (like NAR names), we can read into a preallocated fixed-size buffer, instead of allocating a Vec every time. Change-Id: Id8da9e9cea99c814361230c0ec02606b731c79a3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11606 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'ops')
0 files changed, 0 insertions, 0 deletions