Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)
Дата
Msg-id 1286979419-sup-9868@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: levenshtein_less_equal (was: multibyte charater set in levenshtein function)  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Excerpts from Tom Lane's message of mié oct 13 10:32:36 -0300 2010:
> Robert Haas <robertmhaas@gmail.com> writes:
> > I spent some time hacking on this.  It doesn't appear to be too easy
> > to get levenshtein_less_equal() working without slowing down plain old
> > levenshtein() by about 6%.
> 
> Is that really enough slowdown to be worth contorting the code to avoid?
> I've never heard of an application where the speed of this function was
> the bottleneck.

What if it's used on a expression index on a large table?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Issues with two-server Synch Rep
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL command to edit postgresql.conf, with comments