pgsql: Replace plain-memory ordered array by binary tree in ts_stat()

Поиск
Список
Период
Сортировка
Искать

pgsql: Replace plain-memory ordered array by binary tree in ts_stat()

От:
teodor@postgresql.org (Teodor Sigaev)
Дата:
Log Message:
-----------
Replace plain-memory ordered array by binary tree in ts_stat() function.
Performance is increased from 50% up to 10^3 times depending on data.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        tsvector_op.c (r1.17 -> r1.18)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsvector_op.c?r1=1.17&r2=1.18)
FAQ