There is other stuff in the SDK that doesn't work on 10.1 and earlier.  I
don't think this is a good time to try to shim/polyfill/fake that stuff or
add code paths to deal with missing stuff, but I won't object if someone
is itching to do it.

-Alex

On 10/10/13 11:43 AM, "Tianzhen Lin" <tang...@usa.net> wrote:

>I venture to guess Flash Player may dominate nearly 90% of the FP's?  On
>the
>other hand, I wonder if it is feasible to write a pre-FP 10.2
>implementation
>of describeTypeJSON to help make up the functionality.  If so, we can
>still
>extend our support.
>
>Tangent
>
>-----Original Message-----
>From: Maurice Amsellem [mailto:maurice.amsel...@systar.com]
>Sent: Thursday, October 10, 2013 2:37 PM
>To: dev@flex.apache.org
>Subject: RE: describeType still used in many places in SDK
>
>(EDITED: added new lines):
>
>I just did some benchmarks on UI and non UI classes (run several times
>each
>test, the results are consistent) :
>
>
>[trace] [Chrono: [class Button] descripeType x1000] duration= 11.123 s
>
>[trace] [Chrono: [class Label] descripeType x1000] duration= 12.064 s
>
>[trace] [Chrono: [class EntityMosaic] descripeType x1000] duration= 1.776
>s 
>
>[trace] [Chrono: [class ApplicationViewBase_P] descripeType x1000]
>duration=
>13.977 s
>
>_________
>
>[trace] [Chrono: [class Button] descripeTypeJSON x1000] duration= 3.449 s
>
>[trace] [Chrono: [class Label] descripeTypeJSON x1000] duration= 3.686 s
>
>[trace] [Chrono: [class EntityMosaic] descripeTypeJSON x1000] duration=
>0.486 s 
>
>[trace] [Chrono: [class ApplicationViewBase_P] descripeTypeJSON x1000]
>duration= 4.033 s
>
>So descripeTypeJSON is roughly 3.5 time faster.
>
>I think the optimization is worth it, especially on UI classes
>reflection. 
>WDYT?
>
>Maurice
>
>-----Message d'origine-----
>De : Alex Harui [mailto:aha...@adobe.com] Envoyé : jeudi 10 octobre 2013
>19:49 À : dev@flex.apache.org Objet : Re: describeType still used in many
>places in SDK
>
>I wouldn't bother.
>
>On 10/10/13 10:44 AM, "Maurice Amsellem" <maurice.amsel...@systar.com>
>wrote:
>
>>That may sound like a dumb question, but since Apache Flex only
>>supports FP 10.2 and beyond, do we even need to make the check for 10.1 ?
>>
>>Maurice
>>
>>-----Message d'origine-----
>>De : Michael A. Labriola [mailto:labri...@digitalprimates.net]
>>Envoyé : jeudi 10 octobre 2013 19:14
>>À : dev@flex.apache.org
>>Objet : RE: describeType still used in many places in SDK
>>
>>>Before we switch to it, we have to be absolutely sure of when it was
>>>first supported.  I wouldn't want to break our Flash version
>>>compatibility range.  But otherwise, I have no objections if you want
>>>to switch to it.
>>
>>If it helps, in my code, I am checking for FP10.1 or higher which is
>>when I switch to describeTypeJSON instead of the original. It's in
>>avmplus
>>
>>There is a bug filed for Tamarin in BugZilla to have in documented as
>>of 3/21/2011. [1]
>>
>>Mike
>>
>>[1] https://bugzilla.mozilla.org/show_bug.cgi?id=643455
>

Reply via email to