FastRandom similarity to optifine fast math #32
Answered
by
AnOpenSauceDev
copilot-lover
asked this question in
Q&A
|
I was wondering if fast random is similar to fast math from optifine. It dosent seem like it at first glance but I just wanted to ask. |
Answered by
AnOpenSauceDev
Feb 14, 2024
Replies: 1 comment 1 reply
|
Faster Random is not like Optifine's Fast Math. Faster Random replaces the random number generator used by minecraft with something much faster. Fast Math simplifies the sine functions used by minecraft. Porting Fast Math probably won't break compatibility with other mods, as long as they don't change the table (I'm pretty sure none do), but it will slightly change worldgen. Also worth noting that on newer CPU's the performance benefit is nowhere near as large. |
1 reply
Answer selected by
copilot-lover
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Faster Random is not like Optifine's Fast Math. Faster Random replaces the random number generator used by minecraft with something much faster. Fast Math simplifies the sine functions used by minecraft.
Porting Fast Math probably won't break compatibility with other mods, as long as they don't change the table (I'm pretty sure none do), but it will slightly change worldgen.
Also worth noting that on newer CPU's the performance benefit is nowhere near as large.