If you have multiple home units support, load as many pending files as possible at once.
Refactor the loader to reader and writer over cache. This way, the long-loading file won’t block already loaded files, making HLS more responsive and smooth.
Alternatively, you can grab the latest commit hash from the pull request, or you can track the fork it comes from. I did it this way so that I can run the same command later to automatically get the current master with the most recent changes from the PR (which might not always apply cleanly or build successfully, but whatever).
Edit: The HLS produced by the above command seemed to take even longer to load than without the patch. I am now trying the following command to build instead, to make sure I’m using exactly what @soulomoon is working with.
Edit 2: I think either command works. I just hadn’t been using "sessionLoading": "multiComponent", as I didn’t realize it was no longer the default in HLS. I’m also not 100% certain that I observed a slowdown in the first place; maybe it just seemed slower because I was expecting it to be faster.
Thanks for the feedback, yes, "sessionLoading": "multiComponent" have to be enabled successfully for the first change(batch load) to take effect and observe faster load time. The second change is more about responsiveness while we are in middle of the loading proccess. Also we will fallback to non-batch load from batch load if we are encounter error in the batch load mode in order to distribute the errors to the correct failling files.
In case this confuses anyone else, the setting is called “multipleComponents”, but I think “multiComponent” was the original name and might have been preserved for backwards compatibility.
The problem really is that it isn’t documented. Although hopefully it’ll become the default soon anyway.
I am not sure I follow, since I don’t see any specific instruction here:
If you have multiple home units support, load as many pending files as possible at once.
Refactor the loader to reader and writer over cache. This way, the long-loading file won’t block already loaded files, making HLS more responsive and smooth.
Perhaps it assumes some knowledge that I don’t really have? Context: I use HLS everyday (with Emacs), but I rarely customize anything.
These are the two changes made to the codebase of HLS. The changes are default in my PR branch: No additional instructions are needed to be performed beside adding “sessionLoading”: “multiComponents” to the HLS configuration