Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

pgsql: Avoid unnecessary copying of source string when generating a

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Avoid unnecessary copying of source string when generating a
Дата
Msg-id 20091215203717.A32A3753FB7@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Avoid unnecessary copying of source string when generating a cloned TParser.
For long source strings the copying results in O(N^2) behavior, and the
multiplier can be significant if wide-char conversion is involved.

Andres Freund, reviewed by Kevin Grittner.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        wparser_def.c (r1.25 -> r1.26)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/wparser_def.c?r1=1.25&r2=1.26)

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