Please sign in to comment.
Grow StringData multiplicatively on appends
Some endpoints like WebGraphQLIPhoneFeedController and /api/perflab_graphql:feed_before do a lot of string appends, for which we end up allocating O(n^2) memory. When we append to a string, it is usually a good indication that we will do more appends. This diff allocates memory for newly appended strings in a multiplicative manner.
- Loading branch information...