Open afleisc opened 1 month ago
const la = (sa.length > sb.length) ? sa.length : sb.length
const lb = (sa.length > sb.length) ? sb.length : sa.length
was added as an optimization to the double for loop but introduces a bug.
The incorrect loop limits could cause the intersection count (intersectSize) to be inaccurate, as not all possible character pairs were being compared.
/gcbrun
Closes #383