3 ms·
> * It is fast. In release builds you can even try to replace the interfaces with the actual classes implementing it for a straight method call.* Isn't the int
by maaaats 7y ago
> * It is fast. In release builds you can even try to replace the interfaces with the actual classes implementing it for a straight method call.*
Isn't the interface mainly for the compiler, and in runtime it's just a straight method call anyways?
- zubspace 7y agoDepends on the language/compiler/platform. In C# there's a minuscule difference [1]. [1] https://stackoverflow.com/q/7225205/998987 https://stackoverflow.com/q/7225205/998987