Computer Science, asked by Vipinikitipini8783, 11 months ago

Why Is Reflection Slower?

Answers

Answered by akashpatel111
0

Answer:

Reflection is dependent on CPU resources being available; if you have problem with your application being slow, reflection won't solve anything, just make it slower. Like Java itself, reflection isn't slow any more - it is more of an old rumor

Explanation:

Answered by kjax1219
0

Answer:

Is it because we should load class (by string for example), create instance, then search for appropriate method, pack parameters, and then just invoke method? So most time is spent on these operations instead of explicit method invocation on an object, right?

Explanation:

Similar questions