Friday, 6 September 2013

ORMlite, faster if I *REMOVE* annotations?

ORMlite, faster if I *REMOVE* annotations?

in ormlite the annotations @DatabaseField are used to help create the
database schema configuration file, and it then uses the configuration
file for referencing variables in model objects, if I understand
correctly.
The Ormlite documentation says this is used as an alternative for
annotations because the java reflections api takes a lot of resources and
causes a lot of garbage collection, which is true. Does this mean that I
can remove all of my @DatabaseField lines and it will perform better?

No comments:

Post a Comment