Pages

Monday, March 12, 2012

How to increase performance on overridden methods.


All annotations resolve themselves at compile time, java features like inheritance and polimorfism resolve at runtime on client request.
So this means that things that are already resolved at compile time have a faster performance when the application is running latter.
A little trick to increase performance of overriden methods is to anotate them with the annotation @Override.

Share with your friends