Skip to content

ReadCollection: minor speedup#13958

Merged
hius07 merged 1 commit into
koreader:masterfrom
hius07:coll-speedup
Jun 19, 2025
Merged

ReadCollection: minor speedup#13958
hius07 merged 1 commit into
koreader:masterfrom
hius07:coll-speedup

Conversation

@hius07

@hius07 hius07 commented Jun 16, 2025

Copy link
Copy Markdown
Member

(1) Connected folders:
-if a user has entered file types to be added to a collection, do not call hasProvider;
-parse file types string (that can contain several comma separated types) out of the lfs.dir loop.
(2) Adding a book to several collections: call lfs.attributes only once.

Interesting collection connecting/sorting speed measurement in
https://www.mobileread.com/forums/showthread.php?p=4517852#post4517852
and the following comments.


This change is Reviewable

@Frenzie Frenzie added this to the 2025.06 milestone Jun 16, 2025
@hius07 hius07 merged commit e9e2de2 into koreader:master Jun 19, 2025
3 of 4 checks passed
@hius07 hius07 deleted the coll-speedup branch June 19, 2025 05:15
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants