Docs: Update Gemini benchmark results

This commit is contained in:
github-actions[bot]
2025-11-18 22:04:41 +00:00
parent 31a18dd4ee
commit 33b8150958
220 changed files with 3259 additions and 1494 deletions

View File

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