diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-06 13:56:20 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-06 13:56:20 +0100 |
commit | 1cf480110879ffc8aee94b4b75999da405b71d7c (patch) | |
tree | 2ef1d0b9b7406256a8d5b7673abb95123eccac50 /src | |
parent | 689b8256274f669c9a18d8af221e12ff5abbad68 (diff) |
Revert fa125b9b28bea25a4eeb4d39a71a481563127cb9
This causes quadratic performance.
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/archive.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libutil/archive.hh b/src/libutil/archive.hh index c067cd2ad..607ebf8b2 100644 --- a/src/libutil/archive.hh +++ b/src/libutil/archive.hh @@ -75,12 +75,6 @@ struct TeeSink : ParseSink TeeSource source; TeeSink(Source & source) : source(source) { } - - void preallocateContents(unsigned long long size) override - { - source.data->reserve(source.data->size() + size + 1024); - }; - }; void parseDump(ParseSink & sink, Source & source); |