jeudi 8 novembre 2018

Does entity name length impact program performance in case of reflection?

in the case of using reflection we are accessing entities by their names encoded in strings like this m=getMethod("someMethod"). To find the requested entity a string comparison has to be done. Does it mean that the length of the entity name influences the performance. If it so how much is this impact on the performance? Thanks.





Aucun commentaire:

Enregistrer un commentaire