0 Replies Latest reply on Mar 26, 2010 6:02 AM by Carol L. Frampton

    [svn:fx-4.x] 15065: See if performance degradation was due to the introduction of the LayoutDirection constant in invalidateLayoutDirection () by replacing constant with literal string.

    Carol L. Frampton Level 2

      Revision: 15065

      Revision: 15065

      Author:   cframpto@adobe.com

      Date:     2010-03-26 06:01:46 -0700 (Fri, 26 Mar 2010)

      Log Message:

      ***********

      See if performance degradation was due to the introduction of the LayoutDirection constant in invalidateLayoutDirection() by replacing constant with literal string.  While FTETextField is not part of the performance test it was part of the checkin that caused the issue so in reviewing the change I noticed I could pull the two new getters out of the loops that were creating text lines and assign them to constants before the loop.

       

      QE notes:

      Doc notes: None

      Bugs: SDK-25810

      Reviewed By: Corey

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-25810

       

      Modified Paths:

      **************

          flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UIComponent.as

          flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/FTETextField.as