exch-bms2 / beatoraja

Cross-platform rhythm game based on Java and libGDX.
GNU General Public License v3.0
627 stars 146 forks source link

Multithreaded song update #716

Open phu54321 opened 1 year ago

phu54321 commented 1 year ago

Hello, I'm trying to host BMS files on a webdav server. Beatoraja takes too much time to read all songs, as all requests are done sequentially.

This also affects reading large BMS sets (like ultimate.zip containing 8000+ bms files) as SSD read speed aren't saturated. To mitigate this, "Update BMS Database" function should be re-implemented using thread pool technique.

image

I could create a PR for this. Thanks.