anthonix / ffts

The Fastest Fourier Transform in the South
http://anthonix.com/ffts
Other
536 stars 213 forks source link

Q: Is the algorithm suitable for Java implementation on Android, without native? #51

Open bogru opened 8 years ago

bogru commented 8 years ago

Would it still maintain performance advantage over other java based implementations, like https://sites.google.com/site/piotrwendykier/software/jtransforms (single threaded)?

jaadelgren commented 8 years ago

In my experience, absolutely. However, It also depends on the size of your arrays and the frequency with which you pass them back and forth through the JNI. JNI calls are expensive, so if you're making many calls, especially on small arrays, it may not be worth it.

bogru commented 8 years ago

I meant "translating" it completely to java, without native.