Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use reserveExtra in proxygen/lib/http/codec/compress/experimental/sim…
…ulator/CompressionUtils.cpp Summary: This code contains an instance of: ``` container.reserve(container.size()+N) ``` If called repeatedly on the same container, performance will be bad. It's safer to use: ``` reserveExtra(container, N) ``` See [this post](https://fb.workplace.com/groups/638005567605797/posts/1066088434797506) for more details. Reviewed By: r-barnes Differential Revision: D48692107 fbshipit-source-id: 21e90d079bcbeeb54209a0276e0f45820de3319c
- Loading branch information