The flex compiler compiles everything to AS3 before compiling it to
bytecode.

You can add an extra compiler option to mxml "-keep-generated-actionscript"
to see what it is doing.

Pure AS3 may be faster as you may not need all the code that the
conversation from mxml to as3 generates. Or you might code things "better",
for example binding values is very expensive and you could do that quicker
by using getter and setters etc

Just to confirm the conversion between mxml to as3 is done at compile time,
not run time so you only get the hit when developing 

-----Original Message-----
From: Abdul Sattar [mailto:sattar...@gmail.com] 
Sent: 04 September 2013 15:13
To: users@flex.apache.org
Subject: Re: Improve spark List performance

I am novice to Flex. Please guide me why pure action script item renders are
faster than MXML based ones. Is it true that flex compiler compiles .mxml
files to .swf or .swcs.

Regards,

--
Abdul Sattar
*+92 321 6433805*
Director IT & Operations
Powersoft
S3 Mian Building, Faiz Road,
Old Muslim Town,
Lahore - Pakistan
+92 423 6139876

*
*
Powersoft
S3 Mian Building, Faiz Road, Old Muslim Town, Lahore - Pakistan

*POWERSOFT :: NOTICE AND DISCLAIMER*

This e-mail and any attachment(s) may be confidential and may be legally
privileged.  It is intended solely for the addressee. If you are not the
addressee, dissemination, copying or use of this e-mail or any of its
content is prohibited and may be unlawful. If you are not the intended
recipient please inform the sender immediately and destroy the e-mail, any
attachment(s) and any copies.  All liability for virus infection and/or
external compromise of security in relation to transmissions by email is
excluded to the fullest extent permitted by law. It is your responsibility
to scan or otherwise check this email and any attachment(s). Unless
otherwise stated (i) views expressed in this message are those of the
individual sender (ii) no contract may be construed by this e-mail.


On Wed, Sep 4, 2013 at 3:06 PM, Matyas Szabo
<matyas.sz...@plumbee.co.uk>wrote:

> Id make a UIComponent, that implements the Itemrenderer interfaces, 
> and then do everything inside it without in pure actionscript not 
> Flex. Here is an example ive made:
>
> https://github.com/matyasf/DividedList/blob/master/src/dividedlist/DLi
> stRenderer.as I think this is the only way to go, if you want speed 
> with complex renderers.
>
>
> On 4 September 2013 10:59, Harbs <harbs.li...@gmail.com> wrote:
>
> > Wow. Sounds very painful. ;-)
> >
> > On Sep 4, 2013, at 2:16 AM, Alex Harui wrote:
> >
> > > and I've seen folks put a DataGrid in a renderer.
> >
> >
>

Reply via email to