incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Wasilewski <devudes...@gmail.com>
Subject Re: [FalconJS] concepts
Date Wed, 28 Nov 2012 20:28:51 GMT
Thanks for hint, I figured it out.

I was confused about it and was trying to call this._super.init();
but just this._super() inside the init does a job.

Here is speed of accession test

http://jsperf.com/inheritance-yet-another-test/4

Dan

On 11/28/2012 8:04 PM, Alex Harui wrote:
> On 11/28/12 12:01 PM, "Daniel Wasilewski" <devudesign@gmail.com> wrote:
>
>> Ok will try again by changing a subject because you seems to moved away
>> from original topic, and I don't want to interrupt :)
>>
>> So far I have a test to compare very simple model of prototypal
>> inheritance and proposed module pattern that seems to be out of falconJS
>> compiler little syntactic sugar.
>> I have minimised this source a bit, there was few more additional fields
>> that I guess something is depends on but even striping it out:
>>
>> http://jsperf.com/inheritance-yet-another-test/3
>>
>> If you go to the revision 2 of this test, there will be different
>> comparison.
>> http://jsperf.com/inheritance-yet-another-test/3
>> Speed of accession of those objects.
>>
>> However I would like to improve it, because adobe.js implementation
>> doesn't seems to call super as the classic does.
>> So it might be not relevant test right now. Does anybody know how to
>> call super from there?
> It looks like in adobe.js around line 61 it tests to see if the super class
> has the function and creates a _super function you can call.
>
>


Mime
View raw message