Files
swift-nio-http2/docker
Cory Benfield c61955a870 Use proper String unsafeUninitializedCapacity initializer. (#263)
Motivation:

A while ago we shimmed out the String unsafeUninitializedCapacity
initializer because while it was on the road to being implemented, it
hadn't actually been implemented. Now it has!

On Apple platforms, the initializer is guarded behind an availability
guard. We need to add that guard here. This means we need to keep hold
of the backport for a good long time, until we raise our minimum Apple
platform support to a new enough version. Happily, Linux on 5.3 should
just see a net win here.

Modifications:

- Updated to enable us to use the proper initializer.

Result:

Fewer allocations when screwing around with HPACK.
2020-11-28 15:56:31 +00:00
..
2020-09-24 16:26:39 +01:00