Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 690FC9B09 for ; Tue, 24 Jan 2012 23:55:16 +0000 (UTC) Received: (qmail 73677 invoked by uid 500); 24 Jan 2012 23:55:16 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 73549 invoked by uid 500); 24 Jan 2012 23:55:15 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 73541 invoked by uid 99); 24 Jan 2012 23:55:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 23:55:15 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of omuppi1@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-lpp01m010-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2012 23:55:09 +0000 Received: by lags15 with SMTP id s15so2684421lag.6 for ; Tue, 24 Jan 2012 15:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=3CquLRpR/jCaRVtAhUfM6h7uXQFNBZb8wZCrTKIYyjs=; b=ndXt28v2G70GCKOmNok6DfzJ6PIdiNXY9StiIEf6ZgW1Fs+y4Kp0QToZ2pCDe56L76 DykkMB9vbAlcDfqPBK90pm99PetDVTFl12Fp2NvBX5MbGvpzmVKKzB9jEJt3UMJQSzeW cPSoOxmZfSd2m3eL2cnGUxJ2ZPTH4vDgda9no= Received: by 10.152.146.163 with SMTP id td3mr7562389lab.6.1327449288425; Tue, 24 Jan 2012 15:54:48 -0800 (PST) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.112.29.228 with HTTP; Tue, 24 Jan 2012 15:54:17 -0800 (PST) In-Reply-To: References: <20120121054110.20392m7jx0j5yyx2@www.teotigraphix.com> <4F1A9BD6.6090401@leichtgewicht.at> <20120121062045.18702a0otdsv391p@www.teotigraphix.com> From: Om Date: Tue, 24 Jan 2012 15:54:17 -0800 X-Google-Sender-Auth: 6aWBnHt9lz1YlfM4_dWT-GzhXmo Message-ID: Subject: Re: metadata To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=e89a8f2345674b42eb04b74edfbc X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f2345674b42eb04b74edfbc Content-Type: text/plain; charset=ISO-8859-1 Bumping this thread. Michael, your note about post-processing metadata into an actionscript class and hence speeding things up without having to use describeType() sounds very interesting. Can you please post more info? I always wondered about how using descriptType() affects performance. Your results could be enlightening. If we really get such a good performance boost, I am all for adding this as a feature in our new Apache Flex. Thanks, Om On Sun, Jan 22, 2012 at 11:10 PM, Bogdan DINU wrote: > Hi Michael, > > would you care to share a link of your experiment sources? :) We might all > learn something from it. > > Thanks in advance! > > Best regards, > Bogdan > > On Sun, Jan 22, 2012 at 10:00 PM, Michael A. Labriola < > labriola@digitalprimates.net> wrote: > > > I did some experiments a while back where I post-processed metadata into > a > > ActionScript class and then included it in compilation. Basically, I had > a > > class that referenced all places a given metadata tag was being used > (like > > for injection points). Versus using describeType, I could speed up things > > like robot legs nearly 10 fold. > > > > Mike > > > > > > -----Original Message----- > > From: Michael A. Labriola [mailto:labriola@digitalprimates.net] > > Sent: Sunday, January 22, 2012 1:58 PM > > To: flex-dev@incubator.apache.org > > Subject: RE: metadata > > > > There was a compiler change a while back. Basically, if a library forces > a > > given piece of metadata to be kept, then that setting is inherited by the > > project. So, when flexunit forces [Test] to be kept in the library, all > > projects that include flexunit's swc get that setting > > > > -----Original Message----- > > From: Michael Schmalle [mailto:mike@teotigraphix.com] > > Sent: Saturday, January 21, 2012 5:21 AM > > To: flex-dev@incubator.apache.org > > Subject: Re: metadata > > > > Quoting Martin Heidegger : > > > > > @Michael: Wasn't there some kind of compiler change regarding this? > > > I can't properly recall it. > > > > > > However: As far as I know: the standard meta tags (like bindable) do > > > get compiled into the code and are readable with describeType. swfs > > > are readable like external files with the proper tools, which is why > > > swc inspection works in FlexBuilder, FDT, etc. If you put them in an > > > external file you'd make it easier to tamper and break running code. > > > > > > yours > > > Martin. > > > > > > > The Bindable etc, are included in the main build. > > > > whiteboard/frameworks/build_framework.xml > > > > In the core, framework and mx targets. > > > > > > > > > > > > > > > > > > > As far as the compiler change, I don't know. > > > > Mike > > > > Notice: This transmission is intended only for the use of the individual > > or entity to which it is addressed and may contain information that is > > privileged or confidential. Any dissemination, distribution or copying of > > this transmission by anyone other than the intended recipient is strictly > > prohibited. If you have received this transmission in error, please > notify > > the sender immediately by e-mail or telephone and delete the original > > transmission. Thank you. > > > > > > -- > http://www.badu.ro > --e89a8f2345674b42eb04b74edfbc--