change growth factor of array

Simon Liu simohayha.bobo at gmail.com
Fri Oct 19 12:06:15 UTC 2012


In this document (
https://github.com/facebook/folly/blob/master/folly/docs/FBVector.md ) ,
 It is to suggest use factor 1.5 (when you'd push into a array without
there being room)  in dynamically-allocated arrays. the factor is 2 in
array of Nginx, and so I think may be change factor to 1.5 is be better in
Nginx's array.

Thanks.

-- 
do not fear to be eccentric in opinion, for every opinion now accepted was
once eccentric.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121019/1a36e1b6/attachment.html>


More information about the nginx-devel mailing list