Skip to content

Persist: add support for zstd serialization/deserialization in memory#13122

Merged
Frenzie merged 2 commits into
koreader:masterfrom
Frenzie:persist
Jan 24, 2025
Merged

Persist: add support for zstd serialization/deserialization in memory#13122
Frenzie merged 2 commits into
koreader:masterfrom
Frenzie:persist

Conversation

@Frenzie

@Frenzie Frenzie commented Jan 23, 2025

Copy link
Copy Markdown
Member

I found the API a bit confusing.

Related to #13061.


This change is Reviewable

@Frenzie Frenzie requested a review from NiLuJe January 23, 2025 23:32
Comment thread frontend/persist.lua Outdated
@Frenzie Frenzie added this to the 2025.01 milestone Jan 24, 2025
@Frenzie Frenzie merged commit d98639f into koreader:master Jan 24, 2025
@Frenzie Frenzie deleted the persist branch January 24, 2025 21:43
Frenzie added a commit to Frenzie/koreader that referenced this pull request Jan 24, 2025
Persist is intended for larger objects, which works best for things like cached tiles with some metadata.

For many small to medium entries that you nevertheless don't necessarily want to keep around in memory, that seems a bit inefficient.

SQLite then, is effectively a way of minimizing the amount of writes in this scenario.

Relates to koreader#13061. Depends on koreader#13122.
@Frenzie Frenzie mentioned this pull request Jan 24, 2025
Commodore64user pushed a commit to Commodore64user/KOReader_fork that referenced this pull request Jan 27, 2025
Frenzie added a commit that referenced this pull request Jan 29, 2025
Persist is intended for larger objects, which works best for things like cached tiles with some metadata.

For many small to medium entries that you nevertheless don't necessarily want to keep around in memory, that seems a bit inefficient.

SQLite then, is effectively a way of minimizing the amount of writes in this scenario.

Relates to #13061. Depends on #13122.
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Persist is intended for larger objects, which works best for things like cached tiles with some metadata.

For many small to medium entries that you nevertheless don't necessarily want to keep around in memory, that seems a bit inefficient.

SQLite then, is effectively a way of minimizing the amount of writes in this scenario.

Relates to koreader#13061. Depends on koreader#13122.
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.

1 participant