Fix performance issues with folly::Uri::authority().
Summary: String concatenation was not performed correctly in folly::Uri::authority(). This commit fixes the issue by pre-allocating enough space and buliding the string left to right. Test Plan: Unit tests in folly/test. Reviewed By: tudorb@fb.com FB internal diff: D981069
Showing
Please register or sign in to comment