android - Does less use of variables in Java class help better performance? -


i developing android application , need improve performance. if use less variables in each class, me achieve better performance?

unless have ridiculous amount of variables, won't notice difference (and chances compiler optimize redundant local variables away anyway). if want improve application's performance you'd better served in concentrating on improving algorithms , reducing amount of accesses external resources.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -