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

Load category tree from database instead of file system #421

Merged
merged 1 commit into from Mar 1, 2019

Conversation

Projects
None yet
1 participant
@ubruhin
Copy link
Member

commented Feb 28, 2019

All the information needed to build category tree views (e.g. in the "Add Component" dialog) is available in the workspace library database, which is much faster than loading the categories from the file system. So let's use the database ;)

@ubruhin ubruhin added the enhancement label Feb 28, 2019

@ubruhin ubruhin added this to the 0.1.1 milestone Feb 28, 2019

CategoryTreeItem: Load metadata from database
Instead of opening the categories from file system. This improves the
performance of category trees.

@ubruhin ubruhin force-pushed the load-category-tree-from-database branch from b353d07 to 4e8ebcd Mar 1, 2019

@ubruhin ubruhin merged commit 18b0c42 into master Mar 1, 2019

4 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@ubruhin ubruhin deleted the load-category-tree-from-database branch Mar 1, 2019

ubruhin added a commit that referenced this pull request Mar 17, 2019

Merge pull request #421 from LibrePCB/load-category-tree-from-database
Load category tree from database instead of file system
(cherry picked from commit 18b0c42)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.