Rationale for Dict?

Erik Arvidsson erik.arvidsson at gmail.com
Tue Jan 8 13:07:03 PST 2013


On Tue, Jan 8, 2013 at 4:01 PM, Axel Rauschmayer <axel at rauschma.de> wrote:

> 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.

It seems like doing type specialization for maps that only have string
keys (as well as SMI keys) will be a huge perf gain for engines. We
just need to write a performance test to force their hands.

--
erik


More information about the es-discuss mailing list