Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

The Create Database Tables command should be faster #139

Open
aaltat opened this issue May 12, 2016 · 3 comments
Open

The Create Database Tables command should be faster #139

aaltat opened this issue May 12, 2016 · 3 comments

Comments

@aaltat
Copy link
Collaborator

aaltat commented May 12, 2016

The Create Database Tables command should be faster. It could use the Python multiprocessing in same manner index all tables uses. This would shorten the time taken to create the tabled for internal database.

@georgecarstoiu
Copy link

Would this be related to the fact that now the plugin seems slower when moving from one file to another, or when using the GoTo command? If I disable the automatic build of the db, this small lag goes away.

@aaltat
Copy link
Collaborator Author

aaltat commented May 23, 2016

The lag and problem with Create Database Tables are different things.

The lag is caused, because it performs the re-indexing when file is changed. My great idea was not so great after all, because I hate the lag too and have also turned the re-indexing off. This problem in the Create Database Tables is that although the single file operation takes small amount of time, scanning lot of files takes long time, like in minutes. The easy fix would be to Python multiprocessing to allow scanning multiple files at the same time.

I have an idea also to improve the performance of re-indexing but it requires some work. In practice I need to re-write the part that keeps track of the which tab is open and I have not found the the time to do it. But as said that is a separate issue.

@aaltat aaltat added this to the 5.0.0 milestone Jun 6, 2016
@aaltat
Copy link
Collaborator Author

aaltat commented Sep 2, 2016

For lack of time, this will not be part of release 5.0

@aaltat aaltat removed this from the 5.0.0 milestone Sep 2, 2016
@aaltat aaltat added this to the 6.3.0 milestone Oct 15, 2017
@aaltat aaltat removed this from the 6.3.0 milestone Jan 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants