in packages/fbjs/src/struct/IntegerBufferSet.js [29:46]
constructor() {
this._valueToPositionMap = {};
this._size = 0;
this._smallValues = new Heap(
[], // Initial data in the heap
this._smallerComparator
);
this._largeValues = new Heap(
[], // Initial data in the heap
this._greaterComparator
);
this.getNewPositionForValue = this.getNewPositionForValue.bind(this);
this.getValuePosition = this.getValuePosition.bind(this);
this.getSize = this.getSize.bind(this);
this.replaceFurthestValuePosition =
this.replaceFurthestValuePosition.bind(this);
}