about summary refs log tree commit diff
path: root/src/libstore/build.hh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-15T22·51+0100
committertazjin <mail@tazj.in>2020-07-16T00·37+0000
commiteff165425a1a225ac22427ec94b25da9ef6d6e04 (patch)
treeab7212cbd65e461b872431214287eece0d8558b9 /src/libstore/build.hh
parente92c8243304bdb60d75dcd4297c386584b7d41c8 (diff)
refactor(3p/libstore): Optimise nix::printString r/1309
Slight performance optimisation of nix::printString by copying chunks
of the input string which do not need escaping as contiguous blocks.

Paired-With: Perry Lorier <isomer@tvl.fyi>
Change-Id: I48bad90c8f2831ae4524c814a12b1982989922f9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1184
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'src/libstore/build.hh')
0 files changed, 0 insertions, 0 deletions