diff options
author | Phil Jones <philj56@gmail.com> | 2022-10-22 18:32:16 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-10-22 18:32:16 +0100 |
commit | 820fb11b9bb034a1ee2685ff9272f031d27dcd38 (patch) | |
tree | eed9e25434c2394dbfb0d7e0e4cc297694e00443 /src/xmalloc.h | |
parent | d1b94b4487c72b13320a281ad6a2fc291e4c79c7 (diff) |
Limit max line length for perfect fuzzy matching.
Fuzzy matching could previously take a very long time for long input
lines, as the number of possible matches quickly explodes. This commit
sets a line length limit of 100 characters - longer lines will only
return the first fuzzy match, rather than the best one.
Diffstat (limited to 'src/xmalloc.h')
0 files changed, 0 insertions, 0 deletions