__noSuchMethod__ and direct proxies
oliver at apple.com
Mon Dec 5 09:02:01 PST 2011
IIRC the Cappuccino has its own method dispatch implementation solely to support Obj-Js noSuchSelector (or whatever it's called) method. They take quite a perf hit because of that, and it would be unnecessary if there were someway to implement a __noSuchMethod__ analog. I suspect the direct proxy in the protochain would do the trick,
On Dec 5, 2011, at 8:20 AM, John J Barton wrote:
> On Mon, Dec 5, 2011 at 2:48 AM, Tom Van Cutsem <tomvc.be at gmail.com> wrote:
>> There have previously been discussions on this list and elsewhere about
>> whether or not proxies cover the __noSuchMethod__ use case [1,2].
>>  https://mail.mozilla.org/pipermail/es-discuss/2011-October/017467.html
>>  https://bugzilla.mozilla.org/show_bug.cgi?id=683218#c8
> The references here discuss how proxies can/cannot implement
> __noSuchMethod__. Is there a use case for __noSuchMethod__? As in why
> would anyone want such a thing?
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss