Performance of tables slower than built in?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Fri May 24 08:40:15 UTC 2019


On Friday, 24 May 2019 at 08:33:34 UTC, Ola Fosheim Grøstad wrote:
>
> https://gist.github.com/run-dlang/9f29a83b7b6754da98993063029ef93c

I made an error here:

"return s*((1 - f)*QuarterSinTab[ai&511] + 
f*QuarterSinTab[(ai+1)&511]);"

Should of course be:

return s*((1 - f)*QuarterSinTab[ai&511] + 
f*QuarterSinTab[(ai&511)+1]);

However that does not impact the performance.



More information about the Digitalmars-d-learn mailing list