RedstoneFuture / missilewars

MissileWars is a famous, fun and fast minigame spigot-plugin for Minecraft
https://www.spigotmc.org/resources/62947
GNU General Public License v3.0
13 stars 9 forks source link

Reworking area calculation & adding cmds to change the areas #67

Closed RedstoneFuture closed 1 year ago

RedstoneFuture commented 1 year ago
daniel-naegele commented 1 year ago

Improved performance, due to a more compact area-check algorithm How did you do this? Do you have any performance comparisons, maybe from a profiler or something?

RedstoneFuture commented 1 year ago

How did you do this? Do you have any performance comparisons, maybe from a profiler or something?

No. But the calculation of the area check was very convoluted, went over many corners, used unnecessary mathematical algorithms.

daniel-naegele commented 1 year ago

How did you do this? Do you have any performance comparisons, maybe from a profiler or something?

No. But the calculation of the area check was very convoluted, went over many corners, used unnecessary mathematical algorithms.

Which calculation exactly do you mean?