initial capacity
definitions
-
In computing, the starting amount of memory or storage space allocated for a data structure (such as an array, list, or hash map) before it needs to be dynamically resized.en: In computing, the starting amount of memory or storage space allocated for a data structure (such as an array, list, or hash map) before it needs to be dynamically resized.
-
The original volume, amount, or potential capability of a system, container, or entity at the beginning of an operation or period.en: The original volume, amount, or potential capability of a system, container, or entity at the beginning of an operation or period.
examples
-
Setting an appropriate initial capacity for the list can improve performance by reducing reallocations.
Setting an appropriate initial capacity for the list can improve performance by reducing reallocations.
-
The factory's initial capacity was only half of what it is today.
The factory's initial capacity was only half of what it is today.