Steven Schveighoffer: > Not quite :) There is one byte for padding because (insert gasp-inspiring > music accent) all struct heap allocations are allocated through newArray > with a size of 1. I discovered this when working on the array append > patch.
How much more hidden shit like this do I have to see? I have filed a bug report: http://d.puremagic.com/issues/show_bug.cgi?id=4487 Maybe Walter has to fix this before porting dmd to 64 bits. > Most of this is mitigated if you have a custom allocator that allocates an > array of nodes at once The GC is supposed to not suck that much. If I want to do all manually and use custom allocators then maybe it's better if I start to switc to C language. Thank you Steven.
