initial capacity

language: th

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.
    th: ความจุเริ่มต้น
  2. The original volume, amount, or potential capability of a system, container, or entity at the beginning of an operation or period.
    th: ความจุเริ่มต้น

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.

    กำลังการผลิตเริ่มต้นของโรงงานมีเพียงครึ่งหนึ่งของที่เป็นอยู่ในปัจจุบัน