]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-fts: Reuse textcat handle between sessions
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 9 Dec 2021 17:06:11 +0000 (18:06 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 21 Dec 2021 12:01:59 +0000 (12:01 +0000)
commitac7bcc31c9ad1cc746494c1d655482a3df5fcedf
treed1f81d7890b6d6f50a58fcc0d29680d558040fed
parentfd7248b70725856799200841d89cdccf7133db0e
lib-fts: Reuse textcat handle between sessions

textcat initialization is rather CPU intensive. Its configuration is
normally always the same between sessions, so we can keep the latest textcat
handle cached.
src/lib-fts/fts-language.c