feat: refactoring project
This commit is contained in:
2
node_modules/webpack/lib/util/ArrayQueue.js
generated
vendored
2
node_modules/webpack/lib/util/ArrayQueue.js
generated
vendored
@@ -56,7 +56,7 @@ class ArrayQueue {
|
||||
*/
|
||||
dequeue() {
|
||||
if (this._listReversed.length === 0) {
|
||||
if (this._list.length === 0) return undefined;
|
||||
if (this._list.length === 0) return;
|
||||
if (this._list.length === 1) return this._list.pop();
|
||||
if (this._list.length < 16) return this._list.shift();
|
||||
const temp = this._listReversed;
|
||||
|
||||
Reference in New Issue
Block a user