diff options
author | Daniel Pauls <daniel1708.de+git@gmail.com> | 2022-04-05 21:16:11 +0200 |
---|---|---|
committer | Daniel Pauls <daniel1708.de+git@gmail.com> | 2022-04-05 21:30:50 +0200 |
commit | 1fa03934791189f02208e1807d822128b216f087 (patch) | |
tree | 2e8cb2471d65a76611d23f32e0ae8558ff343176 /src/libstore/builtins.hh | |
parent | 27b952a8a16b75f47d62fd6d3b0cedc8a081655c (diff) |
libutil: Reserve memory when en/decoding base64
The size of the output when encoding to and decoding from base64 is
(roughly) known so we can allocate it in advance to prevent
reallocation.
Diffstat (limited to 'src/libstore/builtins.hh')
0 files changed, 0 insertions, 0 deletions