Phase 1: lock cron, reload chaud, argon2, providers, IMDb lookup, cache LRU, /health, /metrics, rate limit, UI dark, biome
This commit is contained in:
@@ -21,7 +21,7 @@ export function mbLevenshtein(s1, s2, costIns = 1, costRep = 1, costDel = 1) {
|
||||
const del = prev[j] + costDel;
|
||||
const ins = curr[j - 1] + costIns;
|
||||
const rep = prev[j - 1] + cost;
|
||||
curr[j] = del < ins ? (del < rep ? del : rep) : (ins < rep ? ins : rep);
|
||||
curr[j] = del < ins ? (del < rep ? del : rep) : ins < rep ? ins : rep;
|
||||
}
|
||||
[prev, curr] = [curr, prev];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user