thanks, w -frelease gdc makes a good result - faster then dmd's one & normal size
Travis Boucher Wrote: > alkor wrote: > > $ dmd -O -release -oftest-dmd test-performance.d && strip test-dmd > > $ gdc -O3 test-performance.d -o test-gdc && strip test-gdc > > so, dmd's code optimization rules > > Walter made nice lang & good compiler - it's true > > > > > Add -frelease to gdc (if you want a fair comparison), and look at the > code generated rather then running a micro benchmark on something that > takes a fraction of a second to run.