More zero-initialization optimizations pending in std.experimental.allocator?

Nathan S. no.public.email at example.com
Tue Oct 30 20:20:59 UTC 2018


On Sunday, 21 October 2018 at 11:09:54 UTC, Per Nordlöw wrote:
> What did you search for to find these?

`typeid` and `.init`.

> So in which cases is `memset` faster than assignment?

I don't know. My guess would be maybe if the type is large, or 
maybe never. Certainly we'd have to benchmark.


More information about the Digitalmars-d mailing list