Questions about initialization of array of objects

Andrey andr-sar at yandex.ru
Sat Jan 12 13:08:45 PST 2013


> Maybe if you tell us more generally what you are trying to do, 
> we can answer something useful :-)

:-) I'm trying to explore the possibilities of memory management 
in D for
fine tuning of real long time running applications. Such 
technique as object pools, which are more friendly to CPU cache. 
I know that you can use std.conv.emplace stuff, but I'm trying to 
stay within GC.

I use unrolled linked lists, which consist of connected fixed 
array chunks, allocated on the GC heap.

Anyway, thanks everyone for answers.


More information about the Digitalmars-d-learn mailing list