View Single Post
Old 04-09-2012, 09:49 AM   #64
peterx
Connoisseur
peterx will become famous soon enoughpeterx will become famous soon enoughpeterx will become famous soon enoughpeterx will become famous soon enoughpeterx will become famous soon enoughpeterx will become famous soon enough
 
Posts: 64
Karma: 669
Join Date: Jan 2012
Device: M92
Quote:
Originally Posted by Mono View Post
Maybe the best would be to make saving the data configurable. The best would be to be able to choose the interval for autosaving + no autosaving option. The second best would be to to switch between two modes - 5 sec autosaving and no autosaving.

If one draws then autosaving every 10-20 sec might be OK. If you write in real time, the saving should be manual or when it seems, there is some spare time.

Also writing could be in queue and done in small batches, when there is time. And imediately stop saving, if pen starts write again.

I know it is more complicated, but it should work satisfactory. Also the saving could be done in its own thread with low priority, if it is possible.
Thanks for the suggestion. Autosave is now done in its own thread. The whole application seems a bit slower, but I am working on that. Please consider the attached version non-stable.
Attached Files
File Type: zip scribble.zip (116.4 KB, 226 views)
peterx is offline   Reply With Quote