Open aaltat opened 8 years ago
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.
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.
For lack of time, this will not be part of release 5.0
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.