If you're reading this, you probably want an explanation on why this mod is no longer being developed. This will be separated into 3 parts.
- Why?
- What's next?
- What can I do with Faster Random now?
This section turned out to be completely wrong, disregard the older revisions Faster Random's optimized MathHelper was actually over 100x faster than vanilla, but the performance was measured in a way that didn't account for the fact that random calucations are usually called once every now-and-then, so by looking at average framerate (because methane could actually be benchmarked that way due to most of its logic happening every frame), I completely missed the whole point of benchmarking.
And on the topic of the /random command for 1.20.2, it might be faster with FasterRandom IF it was/is multithreaded, but it feels unsatisfying just to multithread a single command, and to not tackle the problem at the root which is a general lack of multithreading (which is starting to be remedied slowly by Mojang). But who knows, mojang has finally started fixing a lot of performance issues with the game recently. Patching a single poorly-done random call really wont shave many milliseconds off a frame, and if it does, that's probably a serious issue with the datapack.
Anything, as long as it follows GPLv3. That means forking it, adapting it into your own performance mods, etc. If you really want to, you can publish your own release to modrinth, just credit the original project and stuff. One condition is that i would prefer if you reached out to me at https://github.com/AnOpenSauceDev/Issue-Tracker before releasing your own fork.
this is so sad, FasterRandom did a big FPS diference on my game.