Skip to content

Conversation

@anesthetice
Copy link
Contributor

@anesthetice anesthetice commented Nov 2, 2025

The overall goal of this PR is to improve the handling of .rnote save files.

tl;dr: faster loading, faster saving, smaller file sizes

image

Main selling points:

  • parallelized compression and serialization
  • using zstd instead of gzip
  • atomic file saving

This PR is a re-write of #1177, with a couple of major changes:

  • (+) parallelism for serialization and compression
  • (+) file version separate from the Rnote version
  • (-) scrapped save preferences
  • (-) scrapped alternative serialization methods (for compatibility reasons)

Here's a diagram of the simplified process to get from EngineSnapshot to a .rnote save file.
rnote_to_file

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