I'm looking for a comparison of initial list capacities for different languages and maybe even why those sizes were chosen. For example, I know that in Java 7 the default capacity of an ArrayList
will be 10 (once you insert something). If possible, the factor at which the size increases would also be nice to know. For Java 7, that factor is 1.5.
I'm mainly interested in a few other popular languages especially Python.