I don't think it's very important, as it only gets created once..but i was thinking maybe some type of...extra code because it's static: so..for example, i have a class called 'GPS' which does map data, radar & movement: for recording my last position i can declare it a private variable for the entire class, or static pricate for the 1 function that uses it (rest of class doesn't use it...that's why i made it static to the function anyway)
Code:
Public Class GPS
Private _lastPos as worldPoint
Public Sub Something()
... _lastPos = ...
End Sub
End Class
vs.
Code:
Public Class GPS
Public Sub Something()
Static Dim _lastPos as worldPoint
..._lastPos = ...
End Sub
End Class
.. i know what static is..just asking if there is any performance change from using it vs. a local variable in the class (or are they == in il?)