Rationale for Dict?

Axel Rauschmayer axel at rauschma.de
Tue Jan 8 12:13:06 PST 2013

Playing devil’s advocate: Is Dict really necessary? Whenever performance doesn’t matter (as much), I’d advocate Map. Otherwise, I’d expect programmers who want the extra speed to be comfortable with Object.create(null).

Assumptions about Dict:
- You still can’t use the key '__proto__'.
- You can’t invoke any methods on it.

How will it implement the iteration protocol?

Dr. Axel Rauschmayer
axel at rauschma.de

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130108/e2471acf/attachment.html>

More information about the es-discuss mailing list