rapidfuzz / RapidFuzz

Rapid fuzzy string matching in Python using various string metrics
https://rapidfuzz.github.io/RapidFuzz/
MIT License
2.71k stars 119 forks source link

reduce len() calls #412

Open bvandercar-vt opened 3 weeks ago

bvandercar-vt commented 3 weeks ago

Reduce duplicate len() calls by assigning length to variable.

Probably only has a microscopic effect on performance, but it is something.