Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming schematics #2350

Open
octylFractal opened this issue Jun 26, 2023 · 0 comments
Open

Streaming schematics #2350

octylFractal opened this issue Jun 26, 2023 · 0 comments
Labels
status:accepted Will be fixed / added to WorldEdit, eventually type:feature-request Request for something new
Milestone

Comments

@octylFractal
Copy link
Member

The Problem

With large enough schematics, loading it all into memory at once isn't feasible, as the amount of RAM required outpaces consumer-available levels. Therefore, these schematics can't be pasted at all.

A Solution

Add extensions to the Sponge schematic format to support streaming. lin-bus was already designed to support streaming NBT, so there's no issues with adding additional constraints on a Sponge schematic to allow for streaming from disk. We can key this off of the additional Metadata field.

Alternatives

Design our own format for streaming. This would result in a loss of interoperability, because with the Sponge format, we can retain compatibility with non-streaming readers as well.

Anything Else?

No response

@octylFractal octylFractal added type:feature-request Request for something new status:accepted Will be fixed / added to WorldEdit, eventually labels Jun 26, 2023
@octylFractal octylFractal added this to the Future milestone Jun 26, 2023
@octylFractal octylFractal added this to To do in Planned Improvements via automation Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:accepted Will be fixed / added to WorldEdit, eventually type:feature-request Request for something new
Projects
Development

No branches or pull requests

1 participant