code: function () {
          var threshold = this.slot.keys.length * 0.9;
  
          if (this.slot.size < threshold) {
              this.capacity(this.slot.size);
          }
      }
docs: Sets the capacity to the actual number of elements in the SortedList, if that number is less than 90 percent of current capacity.