RSS 2.0 Feed
RSS 2.0


Atom 1.0 Feed
Atom 1.0

  The cost of dynamic code 


qt8gt0bxhw|20009F4EEE83|RyanMain|subtext_Content|Text|0xfbffa80000000000a500000001000700

An awesome new article from Eric Gunnerson showed up on MSDN this week that focuses on the cost of calling code dynamically. Eric compares the speeds between direct call, using Type.InvokeMember(), calling through an interface, & calling via a delegate. It should be no surprise that Type.InvokeMember() lost out to the others by a long shot. That's not to say you shouldn't use Type.InvokeMember, it has some great uses - but you should know what you're getting yourself into.

[Calling Code Dynamically]




                   

Comments have been closed on this topic.



 

News


Also see my CRM Developer blog

Connect:   @ryanfarley@mastodon.social

         

Sponsor

Sections