I haven't used Java much but enough to have learned performance is disappointing. An often suggested technique to improve the performance of Java code is to try an minimise the number of objects that get created and destroyed as it runs. That is get rid of as many memory allocations as possible thus removing garbage collector work.
If it applies to your cod eat may well prove faster to keep data in Vectors rather than some other data structures. That can make better use of cache memory and reduce accessing slow main memory.
I wonder how you were tempted to use Java as a user of proper compiled languages?
If it applies to your cod eat may well prove faster to keep data in Vectors rather than some other data structures. That can make better use of cache memory and reduce accessing slow main memory.
I wonder how you were tempted to use Java as a user of proper compiled languages?
Statistics: Posted by Heater — Tue Dec 19, 2023 11:41 pm