Verse
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Thank you so much for taking your time
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
No not that i know of
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
I did so rn
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Well if i register all in one class i have the issue of handling events that i dont need that again costs runtime performance
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
And i sorted the registration of handlers to a more efficient manner (less registrations)
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
I have broken the big classes into smaller ones
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
It should be but is it then
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Are a bit smaller classes so much slower than big classes
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Im a bit confused
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
But i can see my old messy code being 10% faster in all attempts of startup with all features enabled 😭
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
The issue i see is that you would have to profile the startup hundrets of times carefulöy to get an idea
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
yea for example look at ClientEvents and GuardEvents and RenderHealthBar
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Its the one in my bio, i just think i made it worse by splitting classes if everything is enabled but better when nothing is enabled
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
What do you think about my code design/structure/readability/isolation of modules
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
ARR, closed source
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
Thats a copyright violation
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
yea there is stuff to optimize but how about the class loading itself, i mean the code structure/ lazyloadi use for things. How do i prevent lazyload freezing the game when im playing?
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
its not processing my mod. But when i load a lotr class there is gonna affect my load time too
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
yes
284 replies
JCHJava Community | Help. Code. Learn.
•Created by Verse on 2/6/2025 in #java-help
Performance & Readability Improvements
284 replies