On Tue, 23 Oct 2012 22:50:46 -0500, Dan <[email protected]> wrote:
The following takes nearly three minutes to compile.
The culprit is the line bar ~= B();
What is wrong with this?
Thanks,
Dan
----------------
struct B {
const size_t SIZE = 1024*64;
int[SIZE] x;
}
void main() {
B[] barr;
barr ~= B();
}
-----------------
I have the same issue on linux x64 2.060
So appending to a dynamic array isn't really that efficient.
But this goes WAY over that line. I'm timing your test now.
It's still going...
--
Using Opera's revolutionary email client: http://www.opera.com/mail/