>-----Original Message----- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >Sent: Wednesday, May 27, 2009 3:41 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] gcc 4.4.0 warnings > >Hi, > > >I see a few new features under GCC: hbvmall, I see a new >discussions about HB_STRICT_ALIGNMENT, etc. So, I decided to >do some new speed tests BCC vs GCC. BCC was winning long time >ago (before dlmalloc).
[ ... ] > BCC MinGW 4.4.0 >Test execution 69.58 / 73.90 57.77 / 59.98 >speedtst.exe size 622592 1090648 (903680 stripped) >Harbour build 4min 47sec 29min 15sec > >So, GCC is 17% faster execution, 45% larger executable, 6.11 >times longer compilation. Mindaugas, speed and size that's not all. We must also look at the quality. Try run this code on different environment : *---------------------- Function main() local i, nd := 0.0, nd1 := 1.1 Cls ? nd for i := 1 to 30 nd := nd + nd1 next for i := 1 to 30 nd := nd - nd1 next ? nd for i := 1 to 10000 nd := nd * nd1 next ? nd, ValType( nd), nd > 0.000001 return Nil *----------------------- On OpenWatcom it is correctly executet, and on BCC (I do not know how the MinGW) ? Regards, Marek Horodyski _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour