Skip to content

Commit

Permalink
Deployed using Blazing fast GitHub Pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
nin-jin committed Jan 17, 2024
1 parent b1d7208 commit 1cce20b
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 43 deletions.
2 changes: 1 addition & 1 deletion node.deps.json

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -28108,13 +28108,16 @@ var $;
return $mol_range2(index => index < this.length ? this[index] : tail[0][index - this.length], () => this.length + tail[0].length);
}
filter(check, context) {
const filtered = new $mol_range2_array();
for (let index = 0; index < this.length; ++index) {
const item = this[index];
if (check.call(context, item, index, this))
filtered.push(item);
}
return filtered;
const filtered = [];
let cursor = -1;
return $mol_range2(index => {
while (cursor < this.length && index >= filtered.length) {
const val = this[++cursor];
if (check(val, cursor, this))
filtered.push(val);
}
return filtered[index];
});
}
forEach(proceed, context) {
for (let [key, value] of this.entries())
Expand Down
2 changes: 1 addition & 1 deletion node.js.map

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions node.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28108,13 +28108,16 @@ var $;
return $mol_range2(index => index < this.length ? this[index] : tail[0][index - this.length], () => this.length + tail[0].length);
}
filter(check, context) {
const filtered = new $mol_range2_array();
for (let index = 0; index < this.length; ++index) {
const item = this[index];
if (check.call(context, item, index, this))
filtered.push(item);
}
return filtered;
const filtered = [];
let cursor = -1;
return $mol_range2(index => {
while (cursor < this.length && index >= filtered.length) {
const val = this[++cursor];
if (check(val, cursor, this))
filtered.push(val);
}
return filtered[index];
});
}
forEach(proceed, context) {
for (let [key, value] of this.entries())
Expand Down
19 changes: 11 additions & 8 deletions node.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28100,13 +28100,16 @@ var $;
return $mol_range2(index => index < this.length ? this[index] : tail[0][index - this.length], () => this.length + tail[0].length);
}
filter(check, context) {
const filtered = new $mol_range2_array();
for (let index = 0; index < this.length; ++index) {
const item = this[index];
if (check.call(context, item, index, this))
filtered.push(item);
}
return filtered;
const filtered = [];
let cursor = -1;
return $mol_range2(index => {
while (cursor < this.length && index >= filtered.length) {
const val = this[++cursor];
if (check(val, cursor, this))
filtered.push(val);
}
return filtered[index];
});
}
forEach(proceed, context) {
for (let [key, value] of this.entries())
Expand Down Expand Up @@ -55981,7 +55984,7 @@ var $;
$mol_assert_equal(list[0], 1);
$mol_assert_equal(list[2], 5);
$mol_assert_equal(list[3], undefined);
$mol_assert_equal(calls, 10);
$mol_assert_equal(calls, 6);
},
'reverse'() {
let calls = 0;
Expand Down
2 changes: 1 addition & 1 deletion node.test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web.deps.json

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions web.js
Original file line number Diff line number Diff line change
Expand Up @@ -27992,13 +27992,16 @@ var $;
return $mol_range2(index => index < this.length ? this[index] : tail[0][index - this.length], () => this.length + tail[0].length);
}
filter(check, context) {
const filtered = new $mol_range2_array();
for (let index = 0; index < this.length; ++index) {
const item = this[index];
if (check.call(context, item, index, this))
filtered.push(item);
}
return filtered;
const filtered = [];
let cursor = -1;
return $mol_range2(index => {
while (cursor < this.length && index >= filtered.length) {
const val = this[++cursor];
if (check(val, cursor, this))
filtered.push(val);
}
return filtered[index];
});
}
forEach(proceed, context) {
for (let [key, value] of this.entries())
Expand Down
2 changes: 1 addition & 1 deletion web.js.map

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions web.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27992,13 +27992,16 @@ var $;
return $mol_range2(index => index < this.length ? this[index] : tail[0][index - this.length], () => this.length + tail[0].length);
}
filter(check, context) {
const filtered = new $mol_range2_array();
for (let index = 0; index < this.length; ++index) {
const item = this[index];
if (check.call(context, item, index, this))
filtered.push(item);
}
return filtered;
const filtered = [];
let cursor = -1;
return $mol_range2(index => {
while (cursor < this.length && index >= filtered.length) {
const val = this[++cursor];
if (check(val, cursor, this))
filtered.push(val);
}
return filtered[index];
});
}
forEach(proceed, context) {
for (let [key, value] of this.entries())
Expand Down
2 changes: 1 addition & 1 deletion web.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web.test.js.map

Large diffs are not rendered by default.

0 comments on commit 1cce20b

Please sign in to comment.