Efficiency of static versus instance methods
Posted on 2003-11-01
I have a general question as to the efficiency of static versus instance methods: could an increase in efficiency/speed be realized by declaring a method static or not. Specifically, if it's more convenient to use an instance method, but I could concievably re-write it as a static method, would there be a gain? My problem results from not being able to declare static methods in an interface -- and so I am using instnace methods. But if I can write a method as static, should I? For full points, please offer some why/how as to the reason there is or is not a price to pay for a method being static or not.