0 Replies Latest reply on Nov 5, 2009 5:31 PM by Evtim Georgiev (Adobe)

    [svn:fx-trunk] 11489: Optimize Path data parsing and tweak display object sharing.

    Evtim Georgiev (Adobe) Level 2

      Revision: 11489

      Author:   egeorgie@adobe.com

      Date:     2009-11-05 17:31:31 -0800 (Thu, 05 Nov 2009)

       

      Log Message:

      ***********

      Optimize Path data parsing and tweak display object sharing.

      Fix bugs http://bugs.adobe.com/jira/browse/SDK-22567 Performance: Path data parsing trashes the GC

      and http://bugs.adobe.com/jira/browse/SDK-24041 Path data containing exponential notation is not properly rendered

       

      Changes: Don't use String.replace and String.split during Path data parsing; use parseFloat() to read the numbers off the string.

       

      QE notes: None.

      Doc notes: None

      Bugs: None

      Reviewer: Glenn

      Tests run: checkintests, mustella (spark/primitives, gumbo/components)

      Is noteworthy for integration: Yes - bug SDK-24041

       

      Ticket Links:

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as