I'm wondering how expensive this operation can be on following runtimes:
- JVM8
- Dalvik
- ART
The information about annotations of given class (target=TYPE) is available in compile time, so I'd guess that it can be cached somehow. But on the other hand, I've heard Dalvik had quite poor performance regarding annotations.
If I can check and cache the info during compile time (with some code generating plugin), should I do it, or would it be overoptimization?
Aucun commentaire:
Enregistrer un commentaire