Weird Thought on World Saving
#7
Technically, you don't need to regen the chunk to compare differences. You could just keep a running tally of block changes. For instance, in the chunk when a block is changed we flag it with a bool to say it was changed, and then on save we just save the ones that have the change flag. Or we just store the index of the changed block somewhere and just grab the block info when we save.

As for compression, I don't know how the current compression works, but how much further can you compress the block index plus the block type? Because that would be all you would need to store.
Reply
Thanks given by:


Messages In This Thread
Weird Thought on World Saving - by SamJBarney - 06-20-2014, 12:46 PM
RE: Weird Thought on World Saving - by bearbin - 06-20-2014, 04:24 PM
RE: Weird Thought on World Saving - by xoft - 06-20-2014, 04:43 PM
RE: Weird Thought on World Saving - by worktycho - 06-20-2014, 09:17 PM
RE: Weird Thought on World Saving - by worktycho - 06-21-2014, 02:00 AM
RE: Weird Thought on World Saving - by tigerw - 06-21-2014, 03:24 AM
RE: Weird Thought on World Saving - by SamJBarney - 06-21-2014, 03:37 AM
RE: Weird Thought on World Saving - by worktycho - 06-21-2014, 04:30 AM
RE: Weird Thought on World Saving - by SamJBarney - 06-21-2014, 05:31 AM



Users browsing this thread: 3 Guest(s)