Grey Panther's Place
  • About
  • Blog
  • Projects
  • More
  • Archives

How slow is Java reflection?

We always hear “reflection is slow, don’t use reflection in Java”. Just today there was an article on Reddit’s /r/java purportedly showing that reflection is ~10x slower than calling the getters directly.

Fortunately the author provided source code. Unfortunately he committed a couple of mistakes:

  • He was ...
more ...

About Grey Panther
father, husband, software craftsman

  • Social

    • linkedin
    • stackoverflow
    • github

© 2016 Grey Panther · Powered by pelican-bootstrap3, Pelican, Bootstrap

Creative Commons License Content licensed under a Creative Commons Attribution 4.0 International License, except where indicated otherwise.

Back to top