@@initialize, or describing subclassing with mixins

Boris Zbarsky bzbarsky at MIT.EDU
Fri Jul 4 13:57:23 PDT 2014


On 7/4/14, 12:15 PM, Jussi Kalliokoski wrote:
>     Some of these are not just optimizations; some of these are needed
>     for correctness.  For example, we use fixed parts of the object
>     layout to cache values for some Web IDL properties that need to keep
>     returning the same thing over and over again.
>
> I might be missing something, so is there something in the idea I
> proposed that would prevent doing this?

Apart from not being sure the place to store the cached value will exist?

-Boris



More information about the es-discuss mailing list