Docs: Update benchmark results

This commit is contained in:
github-actions[bot]
2025-11-13 21:24:36 +00:00
parent 63fdb538ff
commit a38ae2d0c5
62 changed files with 532 additions and 1161 deletions

View File

@@ -1,13 +1,13 @@
const findLISLength = async (nums) => {
const findLISLength = async (arr) => {
const { bisectLeft } = await import('https://cdn.jsdelivr.net/npm/d3-array@3/+esm');
if (!nums?.length) return 0;
if (!arr?.length) return 0;
const tails = [];
for (const num of nums) {
const pos = bisectLeft(tails, num);
tails[pos] = num;
for (const num of arr) {
const idx = bisectLeft(tails, num);
tails[idx] = num;
}
return tails.length;