Project

General

Profile

« Previous | Next » 

Revision abb3ee9f

Added by skyjake about 11 years ago

Optimize|Refactor|libgui|Font: Faster rich format subranges

Profiling showed that majority of the time used by FontLineWrapping
was spent splitting RichFormat instances into subranges. This commit
revises the implementation of RichFormat so that it is efficient
to refer to a subrange of a RichFormat -- no copying or modification
occurs.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences