small remark for your testing series: AVG makes no sense, you should test against MIN - why ? the measured results are contaminated by other activities on your system, so the fastest result is the most accurate, because there is no way to make a program to run faster, but many ways to make it run slower.
Am 16.02.2016 um 12:19 schrieb Serguei TARASSOV: > On 16/02/2016 12:00, fpc-pascal-requ...@lists.freepascal.org wrote: >> Date: Mon, 15 Feb 2016 13:02:48 +0100 (CET) >> From: Michael Van Canneyt<mich...@freepascal.org> >> To: FPC-Pascal users discussions<fpc-pascal@lists.freepascal.org> >> Subject: Re: [fpc-pascal] Happy tickets benchmark >> >> On Mon, 15 Feb 2016, Serguei TARASSOV wrote: >> >>> >On 15/02/2016 12:00,fpc-pascal-requ...@lists.freepascal.org wrote: >>>> >>Date: Mon, 15 Feb 2016 07:55:55 +0100 >>>> >>From: Florian Kl?mpfl<flor...@freepascal.org> >>>> >>To:<adr...@veith-system.de>, "FPC-Pascal users discussions" >>>> >> <fpc-pascal@lists.freepascal.org>, Adrian Veith<adr...@vtim.de> >>>> >>Subject: Re: [fpc-pascal] Happy tickets benchmark >>>> >>Message-ID: >>>> >> >>>> <152e3b6cc90.27ef.940694a44bcba3a3e493262cc9dc5...@freepascal.org> >>>> >>Content-Type: text/plain; charset="iso-8859-1" >>>> >> >>>> >>Well, as said before: if the speed of code like this is important >>>> for you, >>>> >>use C. >>> >It's a wrong choice. >>> >As we can see and reproduce, at least C# or other Pascal-like >>> environments >>> >(Oxygene) are significantly faster. >>> >http://www.arbinada.com/main/en/node/1532 >>> > >> What Florian means is that this is very artificial code, and that - >> although >> he has been able to apply the necessary patches to make FPC faster - the >> necessary optimizations are not likely to help in real-life programs. >> >> Michael. > > Sounds like the real-life programs don't use inner loops or don't > solve NP-complete problems :) > For info, my real-life examples are the application server and the DSL > script engine. > So any improvement of quality of FPC's generated code are welcome. > > Regards, > Serguei > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal