https://issues.dlang.org/show_bug.cgi?id=5276
--- Comment #3 from [email protected] --- (In reply to safety0ff.bugz from comment #2) > I'm getting: Now my timings for N=7 are about 1 second for dmd, and about 1.1 seconds for g++. So for this benchmark the dmd performance problem is not a problem. Is the lazy instantiation of templates recently introduced by Walter the cause of this significant performance increase? For N=7 dmd uses about 130 MB RAM, while g++ uses about 30 MB. So the memory usage is about the same, but now dmd is much faster than before. So the original bug report could be closed. Or I can rename it, turning it into a memory usage problem instead: on my system I can compile the C++ code with N=9 (it uses about 1/2 GB RAM), but I think I can't compile the D code with N=9 on my PC. --
