Wednesday, August 02, 2006

Reflection IS Slow - Eating Major Crow!!

So I'm an idiot, please disregard the last post about reflection being fast. Turns out I switched the names of two critical variables in my benchmark test, and the times got swapped. It's CGLIB that's 4x - 10x faster than reflection, not the other way around!! Don't use reflection unless performance really doesn't matter!!!

Munch, munch ... crow tastes like crap! ... Munch, munch

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home