Streaming schematics

未关闭
#2,350 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
java
领域
backend

调研方向

首先检查 Sponge schematic format、其 Metadata 字段以及 lin-bus 对流式 NBT 的支持。在定位格式的读取器和写入器之前,定义所需的流式约束和兼容性行为;当大型 schematics 可以在不完全加载到内存的情况下进行流式处理,同时仍可供非流式读取器使用时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

status:accepted type:feature-request
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

主要语言
Java
星标
3.5k
派生
981
平均合并
2 天 15 小时
30 天内合并 PR
11

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EngineHub/WorldEdit 的其他 Issue

查看 EngineHub/WorldEdit 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。