关于
FastSuite 为所有使用 JSON 配方系统的模组改进了配方匹配性能,而不是针对某一特定子集的配方。其方法在各大版本中有所变化——当前实现(7.0.0+)使用基于索引的算法。
方法
FastSuite 在其生命周期中使用了三种不同的策略:
列表重排序(4.0.0 及更早版本)——配方存储在移到前端的列表中,因此频繁访问的配方会逐渐迁移到前面,在后续查找时查找成本更低。首次访问与原生速度相同;后续访问深层配方的速度提升了 95% 以上,而对已经靠近前端的配方影响很小。
并发匹配(4.1.0 – 6.x)——对于任何拥有超过 100 个配方的配方类型,匹配会分散到多个线程而不是单个线程。这在 All The Mods 8 中带来了 10 倍到 12 倍的加速,并且比重排序模型更兼容、更稳定(例如它可以与 Polymorph 一起工作,并且在首次匹配时就能生效)。
索引匹配(7.0.0+)——当前方法完全放弃了并发,转而采用基于索引的算法。配方被索引化,因此只测试可行的候选者,而不是扫描整个列表。对于某个输入,匹配所有配方的速度大约比原生快 2 倍到 4.5 倍,没有线程,也没有每次匹配的数据写入:
[索引] - 匹配金合欢木板的所有配方平均耗时 93541.68 纳秒 [原生] - 匹配金合欢木板的所有配方平均耗时 416312.28 纳秒 [索引] - 匹配木棍的所有配方平均耗时 203072.3 纳秒 [原生] - 匹配木棍的所有配方平均耗时 523836.38 纳秒 [索引] - 匹配工作台的所有配方平均耗时 104967.54 纳秒 [原生] - 匹配工作台的所有配方平均耗时 236834.45 纳秒 [索引] - 匹配黑色潜影盒的所有配方平均耗时 212810.42 纳秒 [原生] - 匹配黑色潜影盒的所有配方平均耗时 453240.12 纳秒 [索引] - 匹配失败的所有配方平均耗时 243105.69 纳秒 [原生] - 匹配失败的所有配方平均耗时 918821.25 纳秒
如果你在想“等等,那些来自 4.0.0 - 6.0.0 的数字听起来更好”,那么,原生版本的变化削弱了这些优势,以至于并发匹配几乎等同于单线程匹配。现在的基线要快得多,但索引仍然可以做得更好。
兼容性
这个模组被设计为非侵入性的,应该能与所有其他模组一起工作,除非另一个模组也替换了配方管理器。它与 KubeJS 和 CraftTweaker 等配方修改模组兼容,并且不会对 JEI 造成任何问题。
FastSuite 不会替换 FastWorkbench 或 FastFurnace,但如果安装了它,它们的好处会减少,因为部分工作被卸载到了 FastSuite。为了获得最大的配方性能,我仍然建议安装全部三个。
支持我
联系方式
Discord:https://discord.shadowsoffire.dev
如何安装 FastSuite
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.16.4–26.1.2 on Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 26.1.2. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file FastSuite-26.1.2-7.0.0.jar (17 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: FastSuite should be in the list.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 26.1.2 | NeoForge | FastSuite-26.1.2-7.0.0.jar17.5 KB 2 | ||
| 1.20.1 | Forge, NeoForge | FastSuite-1.20.1-5.1.2.jar26 KB 27 | ||
| 1.16.5 | — | FastSuite-1.16.4-1.1.0.jar10.4 KB 2 |
常见问题
Which Minecraft versions does FastSuite work on?
There are files for 26.1.2, 1.20.1, 1.16.5, 1.16.4. The newest is 26.1.2.
Is FastSuite for Forge or Fabric?
There are files for Forge: 1.20.1 and for NeoForge: 1.20.1–26.1.2. There are no files for Fabric: a mod for another loader will not start.
Does FastSuite need other mods?
The author lists no required dependencies: the Forge or NeoForge loader is enough.
Where can I download FastSuite safely?
On this page: the file FastSuite-26.1.2-7.0.0.jar (17 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: efa482f91620c25d23abae35aa9a838be069523d.
评价
成为第一个评价 FastSuite 的人

