Improve performance by 42% with this simple trick
dnezam opened this issue · 1 comments
Hello,
I noticed that the code base starts the opening brace on a new line instead of at the end of the line. According to the official Java code conventions, "the opening brace should be at the end of the line that begins the compound statement [...]" [1].
I think that this is an easy, low-effort change that will result in a 42% performance boost [2].
Also, please port this mod to 0.0.11a.
Thanks!
Sources
[1] Oracle. Code Convention for the Java Programming Language. https://www.oracle.com/java/technologies/javase/codeconventions-statements.html, 1999. [Online; accessed 09-July-2022]
[2] Me. Random Facts I Made Up. 2022