mirror of
https://github.com/multipleof4/lynchmark.git
synced 2026-03-17 03:11:01 +00:00
Docs: Update benchmark for google/gemini-3.1-flash-lite-preview
This commit is contained in:
14
tests/3_lis/outputs/google_gemini-3.1-flash-lite-preview.js
Normal file
14
tests/3_lis/outputs/google_gemini-3.1-flash-lite-preview.js
Normal file
@@ -0,0 +1,14 @@
|
||||
async function findLISLength(nums) {
|
||||
const { bisectLeft } = await import('https://cdn.skypack.dev/d3-array');
|
||||
const tails = [];
|
||||
|
||||
for (const x of nums) {
|
||||
const i = bisectLeft(tails, x);
|
||||
i === tails.length ? tails.push(x) : (tails[i] = x);
|
||||
}
|
||||
|
||||
return tails.length;
|
||||
}
|
||||
export default findLISLength;
|
||||
// Generation time: 0.903s
|
||||
// Result: PASS
|
||||
Reference in New Issue
Block a user