[ 
https://issues.apache.org/jira/browse/FLEX-33810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792084#comment-13792084
 ] 

Maurice Amsellem commented on FLEX-33810:
-----------------------------------------

>From Alex Harui:
What was the test, just the call to describeType vs describeTypeJSON?
IIRC, the XML format is such that you may use the ".." expression to grab the 
superclass's set of a particular thing of interest, and in JSON you can't so 
you'd have to set up a loop to grab every <accessor> tag.

In looking at BindabilityInfo, it doesn't appear to use ".." so I think 
switching here would be safe.

It may not be safe to change DescribeTypeCache.  There might be other 
third-party code relying on XML there.

Same for ObjectUtil, unless you can do it in a way that doesn't change the 
output format.

And I haven't looked, but I'll bet most other places are pretty self-contained 
and are safe to switch.


> Replace describeType by faster describeTypeJSON
> -----------------------------------------------
>
>                 Key: FLEX-33810
>                 URL: https://issues.apache.org/jira/browse/FLEX-33810
>             Project: Apache Flex
>          Issue Type: Improvement
>            Reporter: Maurice Amsellem
>            Assignee: Maurice Amsellem
>
> FP 10.1 has introduced new describeTypeJSON API that is roughly 3.5 times 
> faster than previous describeType.
> describeType is still used in many places in the SDK.
> Since ApacheFlex is supporting FP 10.2 and higher, it should be beneficial in 
> terms of speed to replace all occurrences of describeType by describeTypeJSON.
> {warning}
> Caution must be taken not to break the public APIs, that existing Flex apps 
> maybe using.
> {warning}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to