WIP: preloading of ispell dictionary - Mailing list pgsql-hackers

From Pavel Stehule
Subject WIP: preloading of ispell dictionary
Date
Msg-id 162867791003190338r1c1efa1doea253d4f3c0d4582@mail.gmail.com
Whole thread Raw
Responses Re: WIP: preloading of ispell dictionary
List pgsql-hackers
Hello

I wrote some small patch, that allow preloading of  selected ispell
dictionary. It solve the problem with slow tsearch initialisation with
some language configuration.

This patch is most simple - simpler than variant with shared memory
and it is usable on Linux platform.

I registered some issues about access to different king of memory :(.
The local memory is the best, than shared_memory and then virtual
memory. Queries with preloaded dictionary are about 20% slower (but
still good enough). It depend on platform (and language sure) - I
afraid so this module doesn't help on MS Windows.

Tested on 64bit Fedora Linux - probably on 32bit these issues will be smaller.

I would to add this patch to next commitfest.

can somebody test it for different platforms and different languages than Czech?

Regards
Pavel Stehule

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL
Next
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Introduce WAL records to log reuse of btree pages, allowing