On Monday, 9 November 2015 at 04:52:37 UTC, rsw0x wrote:
On Monday, 9 November 2015 at 04:29:30 UTC, Rikki Cattermole wrote:
On 09/11/15 4:57 PM, TheFlyingFiddle wrote:
[...]

Nope.

[...]

As far as I'm aware, you are stuck using e.g. structs to emulate AA behavior. I have a VERY basic implementation here: https://github.com/rikkimax/alphaPhobos/blob/master/source/std/experimental/internal/containers/map.d
Feel free to steal.

Fwiw, EMSI provides high quality containers backed by std.experimental.allocator.
https://github.com/economicmodeling/containers

Thanks for the suggestions. I also made a hashmap using allocators some time ago that I use in-place of the built in hashmap for most of my purposes. The syntax of a custom hash map is somewhat lacking in comparison to the built in one however and I was hoping that I could either make the built in work with allocators or replace it with my own implementation.

In addition to this I am building a pointer patching binary serializer and I hoped that I could make it work with the built in aa without requiring to many gc allocations.

The economicmodeling one seems interesting ill try it out and see if it's better then the one I am currently using.


Reply via email to