Docs: Update benchmark for openrouter/sherlock-dash-alpha

This commit is contained in:
github-actions[bot]
2025-11-16 00:31:49 +00:00
parent 9450b6f936
commit 24de0a1a87
10 changed files with 207 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
async function findLISLength(arr) {
const {bisectLeft} = await import('https://cdn.skypack.dev/d3-array');
if(!arr.length) return 0;
const tails = [];
for(const x of arr) {
const i = bisectLeft(tails, x);
if(i === tails.length) tails.push(x);
else tails[i] = x;
}
return tails.length;
}
export default findLISLength;