General information
Category:
Third party products
Mike,
>>That's really interesting about the performance boost from TLOCAL and TPARAMETER.
I know! It really surprised me too! If you think about it though, it makes a lot of sense. In a weakly typed language such as VFP all variables and parameters are typed as type Object, the most expensive type of all. This means that when VFP uses variables or marshals parameters it has to do extra work just to maintain the type and memory usage of the object. If you use strongly typed variables and parameters YOU, and not the software make the decision during the development process about the type of the variable. This removes the overhead from the event loop. In normal (non COM) VFP you can define variables and parameters with a type but VFP ignores the type and still uses the Object type. When you are developing a COM server you strongly type your parameters so that other languages can use your server but it still does you no good in the VFP environment so far as performance goes.
Steve
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only