Re: [fpc-pascal] for loops performance problems?

2017-07-05 Thread fredvs
Hello. 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 lib

Re: [fpc-pascal] for loops performance problems?

2017-07-05 Thread Karoly Balogh (Charlie/SGR)
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 calculatio

Re: [fpc-pascal] for loops performance problems?

2017-07-05 Thread Anthony Walter
Karloy, I replaced the calls to World.Vertex/.TexCoord/.Color with a local vertex buffer (an array of TColorTexVertex) eliminating the function calls you mentioned. The frames per seconds with vsync off is identical, so I'm pretty sure that's not causing the slow down. It's either that the additio

Re: [fpc-pascal] for loops performance problems?

2017-07-05 Thread Karoly Balogh (Charlie/SGR)
Hi, On Wed, 5 Jul 2017, Anthony Walter wrote: > I replaced the calls to World.Vertex/.TexCoord/.Color with a local > vertex buffer (an array of TColorTexVertex) eliminating the function > calls you mentioned. The frames per seconds with vsync off is identical, > so I'm pretty sure that's not caus