mapmanager / MapManagerCore

A Python library with the core functionality of MapManager
0 stars 0 forks source link

Saving modified Items only when they are dirty #25

Open jtle00 opened 3 months ago

jtle00 commented 3 months ago

The original proposal can be seen in issue #9, bullet point 2.

  1. "Use something like updateZarr() to save modified items (e.g. dirty items) during runtime. Idea here is that during normal editing runtime, we have some granuality on which part of zarr to save. If points have been edited then save them. Only save parts that are dirty."

Hi @Suhayb-A, amazing work on the Core! Is there currently a way to check if the points and lines data frame have been modified/ dirty so we that can update them individually?

cudmore commented 3 months ago

This is also important to decide if we need to save a mmap on quit. When user quits, we need to save if the mmap is dirty.