diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-01T15·16+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-01T15·16+0100 |
commit | fa125b9b28bea25a4eeb4d39a71a481563127cb9 (patch) | |
tree | c1c563a532a888a21afe402a6beb88423cede367 /src/libexpr/primops/fetchgit.cc | |
parent | f61f67ddee12a976a0a6a20652e7c545b49fa46c (diff) |
TeeSink: Pre-reserve string space
When receiving a very large file, this can prevent the string from having tobe copied, which temporarily doubles memory consumption.
Diffstat (limited to 'src/libexpr/primops/fetchgit.cc')
0 files changed, 0 insertions, 0 deletions