logannc / fuzzywuzzy-rs

port of https://github.com/seatgeek/fuzzywuzzy
GNU General Public License v2.0
40 stars 3 forks source link

get_matching_blocks should use MatchingStreaks #30

Open seanpianka opened 3 years ago

seanpianka commented 3 years ago

Based on #26 (hash)

I'd like to convert this function to use MatchingStreak's internally. It might make it more clear to be comparing low1 < streak.idx1 instead of low1 < i

Edit: Please choose the appropriate labels, I'm not sure whether this is a bug or an enhancement on top of the upstream's algorithm?