shawnlaffan / biodiverse

A tool for the spatial analysis of diversity
http://shawnlaffan.github.io/biodiverse/
GNU General Public License v3.0
74 stars 19 forks source link

auto-remaps - consider Text::Levenshtein::Flexible #863

Closed shawnlaffan closed 1 year ago

shawnlaffan commented 1 year ago

The auto-remaps can take a while as the Levenshtein code calculates all distances, from which we then discard those that are too long.

https://metacpan.org/pod/Text::Levenshtein::Flexible should speed this up.

shawnlaffan commented 1 year ago

We are already doing this with Text::Fuzzy. The remap code was sped up using a different approach under #865