-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rip cpu with that #1
Comments
Yup, the generator isn't that fast. I'm considering implementing everything before doing any optimizations whatsoever. |
Oh those aren't pocketmine's populators, they are GlowstoneMC's Lake object. I most likely didn't port it correctly. |
The floating lake issue has been fixed in e819287 |
@Muqsit What about using taylor series instead of trigonometric and exponential functions? I think will be faster. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There are not many avenues for optimization in this plugin. The performance is much better since PHP 8.1 (and JIT). If you are looking for a more performant alternative, NetherGames maintains a version of this repository rewritten in C++ that may be of your interest: https://github.com/NetherGamesMC/ext-vanillagenerator. |
i have a bigger suggestion if you want a good generation. Actually DaPorkchop from Nukkit already do a good job by creating new noise what is faster then Glowstone one, you can check:
https://github.com/PorkStudios/PorkLib
The text was updated successfully, but these errors were encountered: