performance of OO dispatch in inner loops

Brendan Eich brendan at mozilla.org
Wed Mar 26 13:39:07 PDT 2008


On Mar 26, 2008, at 11:13 AM, Waldemar Horwat wrote:

> David Teller wrote:
>> ES4 has multi-methods, which are harder to optimize,
>
> Multi-methods are gone from ES4.

This is based on the row (numbered 109) of red interrupted so far  
only by Mozilla's green at

http://spreadsheets.google.com/ccc?key=pFIHldY_CkszsFxMkQOReAQ

It's unrealistic to spend time on multimethods in the face of this  
red-colored rejection, but I wanted to point out that multimethod  
dispatch has been researched quite a bit in the '90s. See

http://wiki.ecmascript.org/doku.php? 
id=proposals:generic_functions#background_material

/be



More information about the Es4-discuss mailing list