On Wednesday, 2 November 2016 at 03:36:42 UTC, Andrei Alexandrescu wrote:
Cons:

* Built-in hashtables are a convenience facility more than a high-performance one, so providing an efficiency-oriented primitive seems a bit odd.

 I don't see why it would be odd.

If I know my code is going to be working with 10,000,000 values, then telling/hinting so it could prepare appropriately up front rather than taking hits later seems useful. It's not like it couldn't work without it right?

I'd hope for a few other features, like the AA could be pre-initialized and ready to go, for fixed/immutable lists.

Reply via email to