flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RJ Camarillo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33386) Style Declaration Matching Tuning - Inlining
Date Fri, 08 Feb 2013 01:08:12 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

RJ Camarillo updated FLEX-33386:
--------------------------------

    Description: 
One of the most executed calls during the lifetime of a Flex UIComponent is the matching of
style declarations (i.e. state change, component initialization, etc).

As such, it is one that the community has monkey-patched often in order to attain speed-ups
even for just a little.

This is one of the things done to achieve that end. Instead of doing functional calls to the
different style classes (i.e. CSSCondition, CSSSelector, CSSStyleDeclaration), the StyleProtoChain
class has been modified to perform matching inline as much as possible.

  was:
One of the most executed calls during the lifetime of a Flex UIComponent is the matching of
style declarations.

As such, it is one that the community has monkey-patched often in order to attain speed-ups
even for just a little.

This is one of the things done to achieve that end. Instead of doing functional calls to the
different style classes (i.e. CSSCondition, CSSSelector, CSSStyleDeclaration), the StyleProtoChain
class has been modified to perform matching inline as much as possible.

    
> Style Declaration Matching Tuning - Inlining
> --------------------------------------------
>
>                 Key: FLEX-33386
>                 URL: https://issues.apache.org/jira/browse/FLEX-33386
>             Project: Apache Flex
>          Issue Type: Improvement
>          Components: Styles
>            Reporter: RJ Camarillo
>            Priority: Minor
>              Labels: Performance
>             Fix For: Adobe Flex SDK Next
>
>         Attachments: mx.styles - inlined.zip
>
>
> One of the most executed calls during the lifetime of a Flex UIComponent is the matching
of style declarations (i.e. state change, component initialization, etc).
> As such, it is one that the community has monkey-patched often in order to attain speed-ups
even for just a little.
> This is one of the things done to achieve that end. Instead of doing functional calls
to the different style classes (i.e. CSSCondition, CSSSelector, CSSStyleDeclaration), the
StyleProtoChain class has been modified to perform matching inline as much as possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message