pgsql: Avoid using text_to_cstring() in levenshtein functions.

Поиск
Список
Период
Сортировка
От rhaas@postgresql.org (Robert Haas)
Тема pgsql: Avoid using text_to_cstring() in levenshtein functions.
Дата
Msg-id 20100729201148.AD8527541D5@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Avoid using text_to_cstring() in levenshtein functions.

Operating directly on the underlying varlena saves palloc and memcpy
overhead, which testing shows to be significant.

Extracted from a larger patch by Alexander Korotkov.

Modified Files:
--------------
    pgsql/contrib/fuzzystrmatch:
        fuzzystrmatch.c (r1.32 -> r1.33)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/fuzzystrmatch/fuzzystrmatch.c?r1=1.32&r2=1.33)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Clean up some inconsistencies in the volatility marking of
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Update release notes for 9.0 beta 4.