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. :-)
In reply to Re^9: Fuzzy Searching: Optimizing Algorithm ( A few improvements).
by demerphq
in thread Fuzzy Searching: Optimizing Algorithm Selection
by Itatsumaki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |