C#: Virtual Function invocation is even faster than a delegate invocation?

后端 未结 7 2150
梦谈多话
梦谈多话 2021-02-05 13:02

It just happens to me about one code design question. Say, I have one \"template\" method that invokes some functions that may \"alter\". A intuitive design is to follow \"Templ

7条回答
  •  迷失自我
    2021-02-05 13:44

    Test result worth 1000 of words: http://kennethxu.blogspot.com/2009/05/strong-typed-high-performance_15.html

提交回复
热议问题