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] [Commented] (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:comment-tabpanel&focusedCommentId=13574126#comment-13574126

RJ Camarillo commented on FLEX-33386:

I attached the sources for now since I don't have a workspace setup for Apache Flex in order
to export a patch. Apologies.
> 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

View raw message