function releaseArray(array) {
    array.length = 0;
    if (arrayPool.length < MAX_POOL_SIZE) {
      arrayPool.push(array);
    }
  }
Releases `array` back to the array pool.

@private
@param {Array} array The array to release.