Closed davidromrell closed 6 months ago
This mod is not heavy at all. It contains 1 mixin and a custom implementation of Minecraft's Random
class, using RandomGenerator
(see RandomGeneratorRandom
). This new implementation of random number generation is a lot faster than what's used in vanilla (legacy java.util.Random
).
With the new fixes in place, Faster Random should be 1:1 with vanilla in terms of random number generation, except for a bug fix. Might be wise to include a toggle for that in the future.
I'm not sure what Dynamic FPS does, haven't looked into it.
I want to use this mod and noisium! Right now it barely fits my specifications, and I may end up switching to other mods instead.
Faster Random is compatible with Noisium
Also, Dynamic FPS does not do anything similar to Faster Random in the slightest. Dynamic FPS slows down your game so Minecraft doesn't eat up more resources when idle. Faster Random optimizes the RNG system.
Can you optimize worldgen_region_random calls?
I could, but I don't want to screw up worldgen too much, or create so many new generators that the improvement is negligible. What I could do is have a version of Faster Random that completely breaks parity, and uses random in a way that yields much more performance.
Does an issue already cover this?
Issue description.