Skip to content

gui: Reduce memory usage

Antoine Belvire requested to merge bugfix/59_gui_performance into master

Context

Fixes #59 (closed).

What has changed?

Main Changes

gui

  • Reduce max heap size

gui-view-model

  • Word suggestions: Avoid creating and resetting pattern matchers for words which obviously don't match pattern.

Suggestions are now significantly faster to load. It is very fluid for English and French notably. Still a bit laggy for huge dictionaries like Italian but it's way better. (Note: Suggestions have been added after ticket #59 (closed) was created but it is relevant to fix the issue via this ticket because suggestions now participate in the performance issue.)

Edited by Antoine Belvire

Merge request reports