Skip to content
Commit f876310b authored by Milian Wolff's avatar Milian Wolff
Browse files

Reserve room for 16 response headers by default.

In my data, most often the final size of fetchResponse is 16.
By reserving that data upfront, we can get rid of 3/4 of the
list allocations, according to the growth-strategy outlined here:
http://qt-project.org/doc/qt-4.8/containers.html#growth-strategies
I.e. before, we'd allocate 4, 8, 12, 16. Now we directly allocate
room for 16.

REVIEW: 121408
parent 24194b51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment