Optimize|libdeng2|libappfw|libgui: Performance and memory tuning
This commit makes several small optimizations: - Animation avoids making copies of Time instances. - PathTreeNode avoids making String copies when matching names. - Time prefers the simple "high performance" time values internally, if both kinds available. - Widget uses a simpler method to find the root widget (less dynamic casts). - VertexBuilder pre-reserves 128 vertices to avoid repeated reallocations of the buffer when composing geometry. - ProgressWidget does not recalculate geometry if the widget hidden.
Optimize|libdeng2|libappfw|libgui: Performance and memory tuning
This commit makes several small optimizations:
- Animation avoids making copies of Time instances.
- PathTreeNode avoids making String copies when matching names.
- Time prefers the simple "high performance" time values internally,
if both kinds available.
- Widget uses a simpler method to find the root widget (less dynamic
casts).
- VertexBuilder pre-reserves 128 vertices to avoid repeated
reallocations of the buffer when composing geometry.
- ProgressWidget does not recalculate geometry if the widget hidden.