It depends on your implementation.....
remove all unnecessary iterations... use Casting as possible
And to those variables that will not dynamically changing as calculations executed, make them all static....
For all constants, make them final...
Or you can read Java Optimization
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|