Skip to content

Conversation

@loathingKernel
Copy link
Contributor

@loathingKernel loathingKernel commented Dec 19, 2025

The completer needs to use it's own copy of steam app ids which increases the RAM usage by about 150MB. Using a bespoke item model doesn't work, as
altering the view of an ordered dictionary is a not efficient enough, causing the UI to lock up. For that reason, we generate a reduce list of
completions based on the first three letters of the application's name offer only those. The completer is replaced when the the view is shown
and destroyed when the view get hidden.

  • ImportGroup: refactor local variable and method names
  • ColumnCompleter: override setModel to accept a dictionary
  • SteamGrades: refactor into a class
  • UpdateWidget: emit InstallOptionsModel correctly
  • RunnerSettings: reduce memory usage caused by multiple copies of steam appids in the completer

…m appids in the completer

The completer needs to use it's own copy of steam app ids which increases
the RAM usage by about 150MB. Using a bespoke item model doesn't work, as
altering the view of an ordered dictionary is a not efficient enough,
causing the UI to lock up. For that reason, we generate a reduce list of
completions based on the first three letters of the application's name
offer only those. The completer is replaced when the the view is shown
and destroyed when the view get hidden.
@loathingKernel loathingKernel merged commit b9ba253 into RareDevs:main Dec 19, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant