|
In fact, in terms of efficiency, static is fast, and in terms of oo, the member function is good.Static has many limitations.
Why is C faster than C++? When oo brings us convenience, performance will be lost, but if the cost is not much and the return is large, C++ is practical. |
|