Containers and arrays with custom memory allocators
Aldo
aldocd4 at outlook.com
Tue Oct 17 14:26:28 UTC 2017
On Tuesday, 17 October 2017 at 14:14:19 UTC, Ivan wrote:
> Hi,
>
> I am a C/C++ programmer interested in using D as a replacement
> for C/C++.
>
> I do care a lot about performance and memory management, so
> I want to use my own (or from std.experimental) memory
> allocators.
>
> Are there any good tutorials or examples about how to use
> custom memory allocators for arrays and existing containers?
>
> Or should I just go ahead and write my own containers that are
> allocator
> aware?
>
> Thanks.
You can check this repo :
https://github.com/economicmodeling/containers
It contains containers backed by std.experimental.allocator.
More information about the Digitalmars-d-learn
mailing list