3 ms·
The post gives an example of using an interface with static dispatch. This is in contrast with a regular interface (an abstract class) which implies the use of
by Koshkin 8y ago
The post gives an example of using an interface with static dispatch. This is in contrast with a regular interface (an abstract class) which implies the use of dynamic dispatch.
- lostmsu 8y agoI don't think it matters in the scenario though. The cost of dynamic dispatch will be negligible in comparison to remote call costs, even into a different process on the same machine. Besides, there are techniques to avoid dynamic dispatch for generic specializations, at least in C#.
- smoothdeveloper 8y agoAnd even more techniques in F# in it's type system and inlining