Merged
Conversation
wling-art
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
杂项更新,修改一些描述。并且移除 SIMD 优化的这个参数。
这个启动 SIMD 模块的参数只在核心使用了一些
jdk.incubator.vector包下的 SIMD 优化才真正有用。目前现有核心的 SIMD 优化都只有一个,那就是来自 Pufferfish 的地图颜色计算的 SIMD 优化。这个优化是能减少一点时间上的开销,但是完全没必要,使用bukkit.yml里的颜色缓存 (use-map-color-cache) 可以做到比这更快,几乎 0 开销调用。而且在某些不支持 AVX256/512等等 CPU 指令集的实例环境下,SIMD 的调用会退化到比原先方法还慢,反而成为了负优化。所以直接去掉比较好,等以后有其他 SIMD 相关的优化出来了需要这个参数,再加回来。