Imagine you would like to rename the functions of an imported library and/or .dlls. An option is to wrap calls in a static
class with the name convention of your choice like so:
In the imported library I have:
public static class Library {
public static void LibMethod1(args...)
public static void LibMethod2(args...)
...
}
To wrap this functions according to my new function call desires I can choose to do:
public static class Lib {
public static void myNewName1(args...) {
Library.LibMethod1(args...);
}
public static void myNewName2(args...) {
Library.LibMethod2(args...);
}
...
}
So that I could change the way I called the methods all over my application
from: Library.LibMethod1(args...);
To: Lib.myNewName1(args..)
This could be to have a new name API with calling names that are more understandable for the developer or the team or the specific use of the app, or to remove the c# pascal case naming convention for methods.
Does this have any overhead consequences/considerations in performance intensive applications (with render involved like game engines) where the wrapping can be done for lots of functions and lots of calls?
Asking only regarding the machine code execution performance, not regarding the programming/code maintenance overhead which is obvious.