in reply to Re^8: Fuzzy Searching: Optimizing Algorithm ( A few improvements).
in thread Fuzzy Searching: Optimizing Algorithm Selection

It's not the keys array I would move out, just the calculations and the $minZeros string, all of which would be constants if the keys are fixed length. I have done that locally and it is worth doing.

Yep. I did that (i think :-) once you pointed it out to me. :-)

---
demerphq

  • Comment on Re^9: Fuzzy Searching: Optimizing Algorithm ( A few improvements).