FastDoubleParser
FastDoubleParser copied to clipboard
FFT3 optimization
Optimization of FFT3 method done in that ways:
- Different way of computing FFT elements indexes.
- Reordering commands in various way - this seems to be very unpredictable behavior.
- Reduced number of plus operation via two intermediate sums.
- Reduced number of temporary variables.
The way no.3 standing standalone worsened, but with other optimization help well. Performance was improved by 10-20%, the cost for it is worsened readability of the code.