调研编号:
drawExtras 每帧 NumberFormat.getPercentInstance() 再 format(已算好的 chance)。
PERF
type/perf
p3
TDLM/NEI-Integration
origin/master
1e88b70767d8eef8330d9f16d57ad7ca02de9505
src/main/java/tonius/neiintegration/mods/minefactoryreloaded/RecipeHandlerLaserDrill.java:124-127
NumberFormat percentFormat = NumberFormat.getPercentInstance(); percentFormat.setMaximumFractionDigits(2); GuiDraw.drawStringC(percentFormat.format(crecipe.chance), 83, 44, 0x808080, false);
NEI-Integration
client,server
RecipeHandlerLaserDrill.java:125;RecipeHandlerSludgeBoiler.java:107
同上(NumberFormat);记录关闭。
观察项已修:patches/0002 Utils.percentFormat() 复用;激光钻/污泥锅炉 drawExtras 不再每帧 new NumberFormat。layer 6ab3821。
No dependencies set.
The note is not visible to the blocked user.
调研编号:
结论(仅已处理过的单填写;待修单删掉本节)
现象
drawExtras 每帧 NumberFormat.getPercentInstance() 再 format(已算好的 chance)。
危害类与优先级
PERF→ 标签type/perfp3(confirmed 观察;不标修)证据(生效源码)
TDLM/NEI-Integration+ 分支origin/master+ pin/commit1e88b70767d8eef8330d9f16d57ad7ca02de9505(submodule upstream)src/main/java/tonius/neiintegration/mods/minefactoryreloaded/RecipeHandlerLaserDrill.java:124-127触发与复现
NEI-Integration/sidesclient,server/默认配置可达:是落点
TDLM/NEI-Integration→RecipeHandlerLaserDrill.java:125;RecipeHandlerSludgeBoiler.java:107范式
引证
来源
同上(NumberFormat);记录关闭。
观察项已修:patches/0002 Utils.percentFormat() 复用;激光钻/污泥锅炉 drawExtras 不再每帧 new NumberFormat。layer 6ab3821。