Right. Even better.

On Jan 8, 2013, at 22:05 , Domenic Denicola <[email protected]> wrote:

> More likely, knowing our friendly neighborhood JIT-coders, Maps which only 
> contain string keys will be optimized under the hood.
> From: Axel Rauschmayer [[email protected]]
> Sent: Tuesday, January 08, 2013 16:01
> To: Domenic Denicola
> Cc: es-discuss list
> Subject: Re: Rationale for Dict?
> 
> On Jan 8, 2013, at 21:24 , Domenic Denicola <[email protected]> 
> wrote:
> 
>> In addition to Brandon's points, it seems to me a clear win from the "say 
>> what you mean" angle.
> 
> 
> That’s a good point. And __proto__ being just another property helps 
> tremendously.
> 
> However, not having methods seems unfortunate. It would be nice for Dicts to 
> look like Maps with only string keys, but with get(), set() and has() being 
> optimized under the hood. But maybe that’s too much effort.
> 
> Axel
> 
> -- 
> Dr. Axel Rauschmayer
> [email protected]
> 
> home: rauschma.de
> twitter: twitter.com/rauschma
> blog: 2ality.com
> 
> 

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to