Skip to content

massive speed increase for hunspell backend

Hunspell loves to have a ton of symlinks that point to the same dictionaries, so we should at least avoid reading in all of them several times: image

This patch brings the load time down from 600ms to about 150ms here (about 110ms loading aspell, and about 40 loading trigrams).

Ideally the core should have a concept of aliases itself, but I'm not in the mood to change the API of the speller plugins. We could also try to load the plugins in a background thread, but that's a bit of a bigger job as well.

Merge request reports