空间定位编码与弹性扩缩
Spatial Encoding and Elastic Expansion
03 空间定位编码与弹性扩缩
Spatial Encoding and Elastic Expansion
中文
实际发现
正式工程的空间模块是 3×3×3=27 格 BodySpatialGrid,含 cell_index/cell_id/update/update_from_state。27 格基准:区域求和直接 2,800 ns vs 前缀 700 ns(4×);单格更新重建 9,800 ns vs 直接 500 ns(20×);坐标≤1 时矩与 float64 一致。该尺度下没有相对成熟库的优势。
原始代码 / 日志 / 数据
internal verification asset (not published)internal verification asset (not published)internal verification asset (not published)internal verification asset (not published)
实测数字与条件
27 格;P50 数字如上;精确整数上限 2^53≈9.007e15,本尺度量级 11;弹性 depth 3→4 时 729 节点,再回落 81。
独立复现
python research/spatial/bench27.py;只读运行,不写母体。
可公开图表 / 演示
- (无新增图;见证据路径)
已验证 / 未验证
- 已验证:27 格代码与基准、前缀和/单格更新成本、弹性扩缩节点数。
- 未验证:n≫27、坐标>2^53、高查询/更新比等条件下的优势;真实 G1 闭环空间收益。
English
What was found
The production spatial module is a 3×3×3=27-cell BodySpatialGrid with cell_index/cell_id/update/update_from_state. At 27 cells: region sum 2,800 ns direct vs 700 ns prefix (4×); single-cell update 9,800 ns rebuild vs 500 ns direct (20×); moments equal float64 at coords ≤1. No advantage over mature libraries at this scale.
Code / logs / data
internal verification asset (not published)internal verification asset (not published)internal verification asset (not published)internal verification asset (not published)
Measurements and conditions
27 格;P50 数字如上;精确整数上限 2^53≈9.007e15,本尺度量级 11;弹性 depth 3→4 时 729 节点,再回落 81。
Reproduction
python research/spatial/bench27.py;只读运行,不写母体。
Public figures / demos
- (无新增图;见证据路径)
Verified / unverified
- Verified: 27 格代码与基准、前缀和/单格更新成本、弹性扩缩节点数。
- Unverified: n≫27、坐标>2^53、高查询/更新比等条件下的优势;真实 G1 闭环空间收益。