mateuszmigas / painting-droid

AI-powered cross-platform painting app inspired by the legendary MS Paint.
https://www.paintingdroid.com
GNU General Public License v3.0
93 stars 2 forks source link

Optimize history blobs #113

Open mateuszmigas opened 1 week ago

mateuszmigas commented 1 week ago

Please describe the problem. Currently, there is only one policy for storing canvas history: snapshots in blobs. We need a more sophisticated mechanism to optimize memory consumption.

Describe the solution you'd like Implement various canvas history policies:

Synchronizing history with the canvas would then replay the necessary actions from the last snapshot.

Describe alternatives you've considered N/A

Additional context N/A