Create account / Log in

Property Name - Performance Impact?

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Property Name - Performance Impact?

Postby twenck » August 28th, 2019, 1:20 pm

If one uses property names with no space, the property can be referenced without using GetProperty.

Example: If(Air_Mission==3, 0 ,1)

If using spaces in the name one must use the GetProperty function.

Example: If(GetProperty("Air Mission")==3, 0, 1)


My question: In a large, complex module with very many properties defined, is there a performance toll to use the GetProperty function? Would there be a performance improvement in the module if GetProperty use is minimized?


Tom W
twenck
 
Posts: 31
Joined: October 27th, 2017, 11:15 pm

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 3 guests