summaryrefslogtreecommitdiffstats
path: root/media/kiss_fft/BACKGROUND
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-07 14:44:14 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-07 14:54:20 +0200
commit32ccd283f6af7c00a37bad163f77c481d3967ff1 (patch)
treee3a42d0d2c194c86488f3e176f4d6163670c43b8 /media/kiss_fft/BACKGROUND
parent240f52db8e97c9c65592771ddffb6efbdd210c15 (diff)
downloadUXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar
UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.gz
UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.lz
UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.tar.xz
UXP-32ccd283f6af7c00a37bad163f77c481d3967ff1.zip
Update kiss-fft to 1.4.0 and disable OpenMP for it.
Diffstat (limited to 'media/kiss_fft/BACKGROUND')
-rw-r--r--media/kiss_fft/BACKGROUND25
1 files changed, 25 insertions, 0 deletions
diff --git a/media/kiss_fft/BACKGROUND b/media/kiss_fft/BACKGROUND
new file mode 100644
index 000000000..dd43fa535
--- /dev/null
+++ b/media/kiss_fft/BACKGROUND
@@ -0,0 +1,25 @@
+BACKGROUND:
+
+ I started coding this because I couldn't find a fixed point FFT that didn't
+use assembly code. I started with floating point numbers so I could get the
+theory straight before working on fixed point issues. In the end, I had a
+little bit of code that could be recompiled easily to do ffts with short, float
+or double (other types should be easy too).
+
+ Once I got my FFT working, I was curious about the speed compared to
+a well respected and highly optimized fft library. I don't want to criticize
+this great library, so let's call it FFT_BRANDX.
+During this process, I learned:
+
+ 1. FFT_BRANDX has more than 100K lines of code. The core of kiss_fft is about 500 lines (cpx 1-d).
+ 2. It took me an embarrassingly long time to get FFT_BRANDX working.
+ 3. A simple program using FFT_BRANDX is 522KB. A similar program using kiss_fft is 18KB (without optimizing for size).
+ 4. FFT_BRANDX is roughly twice as fast as KISS FFT in default mode.
+
+ It is wonderful that free, highly optimized libraries like FFT_BRANDX exist.
+But such libraries carry a huge burden of complexity necessary to extract every
+last bit of performance.
+
+ Sometimes simpler is better, even if it's not better.
+
+ -- Mark Borgerding \ No newline at end of file