On 4/24/12 12:07 PM, "Justin Mclean" <jus...@classsoftware.com> wrote: > Hi, > >> There is certainly an order today for children in a container, but I don't >> think it has been documented > HBox and VBox and horizontal and vertical layouts probably wouldn't work as > expected if this changed. I disagree. We could change the order of creation from as long as we add them in the right order. > > >> We'll get puzzled users where the value is assigned as null > For the most common use case ie const + "const" expressions there's no issue. Yeah, so can we just limit this optimization to constant expressions? > >> Optimizing for constant expressions is a good thing, but I still think it >> can be done without a syntax change. > You have anything you can submit or code we can look at? I don't know the binding code that well and would recommend waiting for Falcon to learn it, but I'm pretty sure the binding code in the compiler knows about every token in the expression as it knows what the change events are for each token. It knows about literals since they don't have change events. It knows about the __NoChangeEvent__ event and I believe it generates different code for it. And I think it already knows about constants today as well. -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Omar Gonzalez
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Justin Mclean
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Alex Harui
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Omar Gonzalez
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Alex Harui
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Left Right
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Alex Harui
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Left Right
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Pepe
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Justin Mclean
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Alex Harui
- RE: [jira] [Updated] (FLEX-51) Please check support for ... Gordon Smith
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Left Right
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Daniel Wasilewski
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Alex Harui
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Om
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Left Right
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Roland Zwaga
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Left Right
- Re: [jira] [Updated] (FLEX-51) Please check support for ... Roland Zwaga
- RE: [jira] [Updated] (FLEX-51) Please check support for ... Gordon Smith