We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dbd2aa commit 9440dc1Copy full SHA for 9440dc1
1 file changed
bench.js
@@ -6,7 +6,7 @@ const N = 1000000;
6
const data = [];
7
for (let i = 0; i < N; i++) data[i] = {value: Math.random()};
8
9
-const q = new TinyQueue(null, compare);
+const q = new TinyQueue([], compare);
10
11
function compare(a, b) {
12
return a.value - b.value;
0 commit comments