4 ms·
There is always a performance penalty when switching between “rings”. Private methods are an “implementation detail” that shouldn’t be depended on. Would you w
by scarface74 7y ago
There is always a performance penalty when switching between “rings”. Private methods are an “implementation detail” that shouldn’t be depended on.
Would you write a C++ program that called private functions using pointers? Would you write a C# program that called a private method using reflection? Should the dependency maintainer have the expectation of people calling private methods and not break your code?
Every suggestion you have leads to performance issues.