LuminolLeaf 26.2 (dev)
LuminolLeaf
基于 Folia 的区域化多线程服务端核心,在 Luminol(已归档) 基础上持续维护,并移植了 Leaf 的部分性能优化补丁。
项目定位
LuminolLeaf 面向生存、无政府及生电服务器,提供:
Folia 区域化多线程架构下的稳定性修复
可配置的原版机制与扩展 API
从 Leaf 移植的纯逻辑性能优化
对 Bukkit/Paper 插件的兼容支持
当前版本
Minecraft:26.2
基础:Folia + Luminol
移植来源:Leaf
Leaf 补丁移植
本版本从 Leaf 移植了 9 +个性能优化补丁,均已适配 Luminol 的配置系统与 Folia 区域化多线程架构。
| Leaf 编号 | 补丁主题 | Luminol 编号 |
|---|---|---|
| 0007 | Faster floating-point positive modulo | 0083 |
| 0042 | Reduce array allocations | 0091 |
| 0051 | Cache world generator sea level | 0084 |
| 0075 | Pre-compute VarLong sizes | 0085 |
| 0076 | Optimize VarInt/VarLong write | 0086 |
| 0186 | Improve sorting in SortedArraySet | 0087 |
| 0231 | Cache biome zoom seed | 0088 |
| 0274 | Optimize Vec3i hashing | 0089 |
| 0319 | Replace ServerClockManager map | 0090 |
移植说明
0091:Leaf 0042 的增量移植。绝大部分内容已被 Luminol 已有的 0081-Gale-Reduce-array-allocations.patch 覆盖,0091 仅保留 Mob.java 中 6 处 EquipmentSlot.VALUES → VALUES_ARRAY 替换,并已按 Folia 的 postRemoveAfterChangingDimensions() 上下文改写。
0086:与 Krypton 补丁同改 VarInt.java,新写路径独立,无冲突。
0088:在 WorldOptions 构造器末尾添加 biomeZoomSeed 缓存,涉及 MinecraftServer、ServerPlayer、WorldGenRegion、WorldOptions 四个文件,均干净应用。
0089:新增 Vec3iHasher.java(署名 HaHaWTH),Vec3i.hashCode 改为调用该工具类。
评论 (0)