Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve responsiveness of dictionary window #58

Open
2 of 6 tasks
dmgerman opened this issue Jan 14, 2021 · 0 comments
Open
2 of 6 tasks

Improve responsiveness of dictionary window #58

dmgerman opened this issue Jan 14, 2021 · 0 comments

Comments

@dmgerman
Copy link

dmgerman commented Jan 14, 2021

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: all

I'm going to open a PR to resolve the issue:

  • yes
  • no

Description:

I profiled the dictionary lookup using the hotkey. With the PRAGMA PR that I submitted are still two issues that add to the time it takes to show the result to the user:

  1. The window is created every time the window is show. This window can probably be created at startup, once only for the entire session, instead of each time the window is shown.

  2. looking up words twice. In the tests I ran, the same queries were issued twice. There is probably a way to reduce the number of queries, but this improvement is probably one order the magnitude less than the issue Bug in MIA Dictionary  #1 above.

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

No branches or pull requests

1 participant