Re: strpos() && KMP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: strpos() && KMP
Дата
Msg-id 26247.1186009955@sss.pgh.pa.us
обсуждение исходный текст
Ответ на strpos() && KMP  (Pavel Ajtkulov <ajtkulov@acm.org>)
Список pgsql-patches
Pavel Ajtkulov <ajtkulov@acm.org> writes:
> this patch allow to use Knuth-Morrison-Pratt algorithm for strpos() function
> (see Cormen et al. Introduction to Algorithms, MIT Press, 2001).

This seems like a lot of complexity added to fix a non-problem.  We've
had no complaints about the speed of those functions (at least not since
we changed the original O(N^2) method :-().

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Async Commit, v21 (now: v22)
Следующее
От: Neil Conway
Дата:
Сообщение: Memory leak in tuplestore_end()