[fpc-pascal] for loops performance problems?

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Wed Jul 5 16:12:13 CEST 2017


Hi,

On Wed, 5 Jul 2017, fredvs wrote:

> Please take a look at this:
>
> https://www.mail-archive.com/fpc-pascal%40lists.freepascal.org/msg46162.html
>
> and this:
>
> http://www.mail-archive.com/mseide-msegui-talk@lists.sourceforge.net/msg11078.html
>
> fpc has a huge problem for float calculation.
>
> It makes fpc not competitive for audio libraries/programs that use DSP.
> Decent today's audio stuffs do use float 32 résolution for samples.

This problem has nothing to do with the topic. No, the asker's posted code
is not slow because of this or similar problem, but because it does 10+
function calls inside a tightloop.

Charlie


More information about the fpc-pascal mailing list