FabricFastMath
OptiFine's Fast Math feature re-implemented as a Fabric mod.
FabricFastMath
FastMathFabric
OptiFine's Fast Math feature re-implemented as a Fabric mod.
Description
This mod replaces vanilla Minecraft's trigonometric functions with faster, optimized versions, similar to the "Fast Math" feature found in OptiFine. It aims to improve performance by reducing the computational cost of math operations.
Compatibility
- Fabric Loader: 1.21.11 - Fabric Loader: Required
Performance Statistics
Methodology
The game was allowed to stabilize for 1 minute. FPS data was then collected every 10 seconds for a total of 10 samples.
Results
| Environment | FPS (Without Mod) | FPS (With Mod) | Improvement | | :---------------------- | :---------------- | :------------- | :---------- | | 670 | 504 | 670 | +17.2% | | 670 | 665 | 670 | +0.75% |
Installation
1. Install Fabric Loader. 2. Download the `FastMathFabric` jar file. 3. Place the jar file in your `.minecraft/mods` folder. 4. Launch the game using the Fabric profile.
License
This project is licensed under the Mozilla Public License Version 2.0.