mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-12 06:23:23 -05:00
fix: let the fallback mapping reach the largest file cited
openbor.c is 55k lines at the pin and 57k at HEAD, over a ceiling of 40k, so its ref reported CHANGED with nothing to act on: the mapping was never attempted. Diffing that pair takes nine seconds, and the fallback only runs once exact anchoring has failed, which is rare. The ceiling now sits above it and still stops a pathological pair from stalling a sweep of every profile. savesettings moved from 2675 to 2940 and the range maps cleanly.
This commit is contained in:
1 parent
3c16f6f640
commit
02edf40d8f
3 files changed
+42
-9
No files matched your search
@@ -45,7 +45,12 @@ WIDEN_STEPS = (0, 3, 6, 12, 25, 50)
|
||||
# A 30k-line driver diffs in about five seconds, and the biggest files the
|
||||
# corpus cites sit just above that. The cap stays as a guard against
|
||||
# pathological inputs, not as a limit on real source files.
|
||||
MAX_MATCH_LINES = 40000
|
||||
# The fallback mapping is a full sequence diff, and it only runs once exact
|
||||
# anchoring has failed, which is rare. openbor.c is the largest file any
|
||||
# profile cites, 55k lines against 57k, and diffing the pair takes nine
|
||||
# seconds; the ceiling sits above it so that one resolves, and still stops a
|
||||
# pathological pair from stalling a sweep of every profile.
|
||||
MAX_MATCH_LINES = 60000
|
||||
|
||||
PIN = "pin"
|
||||
HEAD = "head"
|
||||
|
||||
Reference in new issue
Block a user