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

[Feature] any way to speed up the startup checking stage. #2158

Open
xiaoyifang opened this issue Feb 14, 2025 · 2 comments
Open

[Feature] any way to speed up the startup checking stage. #2158

xiaoyifang opened this issue Feb 14, 2025 · 2 comments

Comments

@xiaoyifang
Copy link
Owner

Is your feature request related to a problem? Please describe.
When the gd-ng starts,it will check the states of dictionary's index file . validate the integrity and check whether it reflects the newest changes in the dictionary etc .

Any way to boost the startup speed?

@xiaoyifang xiaoyifang changed the title [Feature] any way to boost the startup checking stage. [Feature] any way to speed up the startup checking stage. Feb 14, 2025
@xiaoyifang
Copy link
Owner Author

xiaoyifang commented Feb 14, 2025

Possible steps:

  1. when startup ,only processing the new added folders.
  2. for the old dictionary index, delay checking the integrity and postphoned the checking logic.
    1. reindex the dictionaries found in step 3.
  3. after application startup ,check the old dictionary index and mark the status . some dictionary index files may be needed to recreated or not.

maybe controlled by an option in preference .such as
[ ] delay checking.

@shenlebantongying
Copy link
Collaborator

Random note: there is a rescan button, but nobody seems aware of it 😅

Maybe mvoe it to under Edit to make is more accessible, then add an advanced option Disable startup indexing/checks.... For people with lots of dicts, they can choose to rescan only if they wish.

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

2 participants