This causes quadratic performance.
This commit is contained in:
Eelco Dolstra 2017-03-06 13:56:20 +01:00
parent 689b825627
commit 1cf4801108
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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);