[FEATURE REQUEST] Optimizing
OpticFusion1 opened this issue · 5 comments
Is your feature request related to a problem? Please describe.
Program uses a lot of CPU, Memory, and Power Usage.
This should be optimized as much as possible.
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
N/A
JVM options could help as well. Figuring out what options should be used though would take time
It's possible there's a memory leak or something actually, not sure where it would be though
Looked through the code too see if there's anything that could be optimized. "walkThroughFiles" which is part of the check code gets called a lot (200+ times), this should be moved to the Scanner class and each check be process(ClassNode, CacheContainer) insteadd if possible.
Definitely either a memory leak, or stuffs not being GC'd properly