Welcome! Log In Create A New Profile

Advanced

change growth factor of array

Simon Liu
October 19, 2012 08:08AM
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.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

change growth factor of array

Simon Liu 1148 October 19, 2012 08:08AM

Re: change growth factor of array

Maxim Dounin 508 October 19, 2012 09:26AM

Re: change growth factor of array

Vladimir Shebordaev 575 October 19, 2012 11:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 144
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready