Project

General

Profile

« Previous | Next » 

Revision ca64e857

Added by skyjake over 8 years ago

Performance|libcore|libgui: Various optimizations

After profiling engine startup, the following changes were made:

- Avoid calls to Time() when initializing objects (checking the
current full date & time is slow) instead preferred the high-
performance timer.
- PathTree only does wildcard pattern tests if wildcards as actually
present in the path segments.
- Block uses memcpy() to read larger sections of the buffer.
- AtlasTexture does not make a separate copy of the subregion to
upload to a texture, instead reading the data directly from the
backing store image.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences