Skip to content

(optimization) Reuse non-changed (region) files when restoring. #2

@Alvinn8

Description

@Alvinn8

Large worlds that are being restored will take a long time to restore from mch objects, and chances are many region files will be unchanged since the commit in question, for example, chunks that were explored to find a woodland mansion or something and then never touched again.

What we can do when restoring is read the current live state of the world, and if the region file has not been changed since the commit we want to restore to, we can just download/open that region file and copy it as-is, without having to parse it which should save quite a bit of time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions