D.gnu - Odd performance difference
- H. S. Teoh (13/13) Oct 25 2012 Since compiling every source file I have in a single command causes GDC
Since compiling every source file I have in a single command causes GDC to ICE, I decided to experiment with compiling the files in batches. Turns out I can do it in two batches without crashing GDC: gdc ${first_seven_files} -o a.o gdc ${second_six_files} -o b.o gdc a.o b.o -o program Here's the odd thing. The resulting program is much smaller than if I compiled every .d file separately, about 30% smaller. But the smaller program consistently runs about 3x slower than the larger one. Why is that? T -- Nobody is perfect. I am Nobody. -- pepoluan, GKC forum
Oct 25 2012