Skip to content

Commit

Permalink
Merge c8b8f22 into 0420632
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuanbuilds committed Feb 9, 2021
2 parents 0420632 + c8b8f22 commit db3bbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -426,7 +426,7 @@ Denque.prototype._growArray = function _growArray() {
// head is at 0 and array is now full, safe to extend
this._tail = this._list.length;

this._list.length *= 2;
this._list.length <<= 1;
this._capacityMask = (this._capacityMask << 1) | 1;
};

Expand Down

0 comments on commit db3bbbc

Please sign in to comment.