Please sign in to comment.
http2: shrink default `vector::reserve()` allocations
Allocating memory upfront comes with overhead, and in particular, `std::vector` implementations do not necessarily return memory to the system when one might expect that (e.g. after shrinking the vector). Backport-PR-URL: #29123 PR-URL: #29122 Reviewed-By: Rich Trott <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com>
- Loading branch information...