Denis Koroskin Wrote:I prefer ubyte[] because that helps GC (void arrays are scanned for pointers).To be fair, the only thing that matters here is what the type is when the initial "new" occurs. After that, I think bits are preserved for reallocations so if NO_SCAN is set then it will remain.
It also matter when I dup it. Even if you preallocate void[] with NO_SCAN dup'ing it will reset the flag.