kagemomiji / airsonic-advanced

airsonic-advanced
GNU General Public License v3.0
152 stars 14 forks source link

Refactoring Needed for Cue Indexing Process Efficiency #255

Closed kagemomiji closed 1 year ago

kagemomiji commented 1 year ago

Related with #230.

The current cue indexing process has some inefficiencies that need to be addressed. Specifically, we are reading the same cue file multiple times, which is not optimal and can slow down the overall process.

Refactoring this process to eliminate redundant file reads will significantly improve the efficiency of the cue indexing process. This will not only speed up the process but also reduce the load on our system.

We should aim to refactor the code in a way that ensures each cue file is read only once during the indexing process. This will likely involve changes to the way we're currently handling file reads in the indexing process.