Re: WIP: shared ispell dictionary

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: WIP: shared ispell dictionary
Дата
Msg-id 162867791003180905m5f02c8c4q9ce78ab626f90bbb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: shared ispell dictionary  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2010/3/18 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> I know so Tom worries about using of share memory.
>
> You're right, and if I have any say in the matter no patch like this
> will ever go in.

I wrote second patch based on preloading. For real using it needs to
design parametrisation. It working well - on Linux. It is simple and
fast (with simple alloc). I am not sure about others systems.
Minimally it can exists as contrib module.

Pavel

>
> What I would suggest looking into is some way of preprocessing the raw
> text dictionary file into a format that can be slurped into memory
> quickly.  The main problem compared to the way things are done now
> is that the current internal format relies heavily on pointers.
> Maybe you could replace those by offsets?
>
>                        regards, tom lane
>

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER ROLE/DATABASE RESET ALL versus security
Следующее
От: Yeb Havinga
Дата:
Сообщение: Re: C libpq frontend library fetchsize