* lisp/ido.el (ido-set-matches-1): Improve flex matching performance by