Docs: Update benchmark results

This commit is contained in:
github-actions[bot]
2025-11-18 17:37:06 +00:00
parent 39d057f079
commit afcfd09537
84 changed files with 1086 additions and 1088 deletions

View File

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