20,741
edits
No edit summary |
|||
Line 85: | Line 85: | ||
==== Tied Properties ==== | ==== Tied Properties ==== | ||
{{Note|The origin of tied properties was largely to address | |||
"hypothetical" performance concerns in the early days. Coders could | |||
continue to use native compiled variables and simultaneously expose them to | |||
the property system. Early property system skepticism included issues like | |||
performance and use of global structures. Those have largely not proven | |||
out to be actual issues. So without looking deep into how much | |||
effort/change/impact this would require, I think for the most part the | |||
whole tied property aspect of the api could go away and the property system | |||
api would simplify quite a bit.<ref>https://sourceforge.net/p/flightgear/mailman/message/37280934/</ref> | |||
}} | |||
Ideally, many more things would use the listener interface, and thus any polling of properties would be removed from all the other code, and only done if required by the property listeners themselves. | Ideally, many more things would use the listener interface, and thus any polling of properties would be removed from all the other code, and only done if required by the property listeners themselves. | ||