Project

General

Profile

« Previous | Next » 

Revision 32f83c7f

Added by skyjake over 10 years ago

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences