20,741
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
Improper use of timers and listeners is one of the most common causes for FlightGear performance issues, because function callbacks (code) may be registered to be triggered/executed more often than required. | Improper use of timers and listeners is one of the most common causes for FlightGear performance issues, because function callbacks (code) may be registered to be triggered/executed more often than required. | ||
The one thing that both timers and listeners have in common is that they're event handlers, i.e. mechanisms that allow custom code to be executed whenever a certain event is triggered, such as a configurable timer expiring and/or a property being updated/modified. | |||
* [[Nasal Callbacks Explained]] | * [[Nasal Callbacks Explained]] |