OVT_Global is now explicitly a Managed class, this is not a functional difference since it already was implicitly Managed
Remove autoptr's that I introduced some time ago, they are useless because this is a Managed class
Optimize pointer usage by declaring object pointers outside of loops to avoid releasing pointers for every iteration
I implemented the object declaration changes only to methods that I think are intensive / get run often. I could've gone through all of them but I decided to start with the intensive ones first and maybe re-visit this class at a later date and do it for the not-so important ones afterwards.
List of changes
I implemented the object declaration changes only to methods that I think are intensive / get run often. I could've gone through all of them but I decided to start with the intensive ones first and maybe re-visit this class at a later date and do it for the not-so important ones afterwards.