initial capacity

language: ja

definitions

  1. 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.
    ja: 初期容量
  2. The original volume, amount, or potential capability of a system, container, or entity at the beginning of an operation or period.
    ja: 初期能力

examples

  1. Setting an appropriate initial capacity for the list can improve performance by reducing reallocations.

    リストに適切な初期容量を設定すると、再割り当てが減り、パフォーマンスが向上します。

  2. The factory's initial capacity was only half of what it is today.

    その工場の初期能力は、今日の半分にすぎませんでした。