Commit Graph

3 Commits

Author SHA1 Message Date
Alex Hoppen
077d8e8a90 [swiftBasic] Simplify bound checks for ExponentialGrowthAppendingBinaryByteStream 2018-08-23 20:44:21 -07:00
Alex Hoppen
49f2e14094 [swiftBasic] Use a SmallVector as the underlying storage for ExponentialGrowthAppendingBinaryByteStream 2018-08-23 09:00:27 -07:00
Alex Hoppen
ff68452301 [swiftBasic] Introduce an exponentially growing appending binary stream
It is more efficient than llvm::AppendingBinaryByteStream if a lot of
small data gets appended to it because it doesn't need to resize its
buffer on each write.
2018-08-23 08:14:02 -07:00