Re: WIP: preloading of ispell dictionary

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: WIP: preloading of ispell dictionary
Дата
Msg-id
21212.1269441980@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
WIP: preloading of ispell dictionary Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP: preloading of ispell dictionary Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Re: WIP: preloading of ispell dictionary Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP: preloading of ispell dictionary Nicolas Barbier <nicolas.barbier@gmail.com>
Re: WIP: preloading of ispell dictionary Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP: preloading of ispell dictionary Craig Ringer <craig@postnewspapers.com.au>
Re: WIP: preloading of ispell dictionary Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP: preloading of ispell dictionary Bruce Momjian <bruce@momjian.us>
Re: WIP: preloading of ispell dictionary Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP: preloading of ispell dictionary Bruce Momjian <bruce@momjian.us>
Re: WIP: preloading of ispell dictionary Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP: preloading of ispell dictionary Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Bruce Momjian  writes:
> OK, what would the TODO text be?

I think there are really two tasks here:

* preprocess the textual dictionary definition files into something
that can be slurped directly into memory;

* use mmap() instead of read() to read preprocessed files into memory,
on machines where such a syscall is available.

There would be considerable gain from task #1 even without mmap.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Gokulakannan Somasundaram
Дата:
FAQ