Closed alemoreau closed 2 years ago
Those integer literals are only used if your input array is absolutely huge (more than 2^32 elements). I should just not support such huge FFTs. Under the current implementation, an FFT that large will try to allocate tens of GB of memory, and take several minutes (estimated). So this library is not suited to such large FFTs anyway.
I'll remove support for enormous arrays and truncate these constants. That should fix your bug.
Thank you a lot for this great plugin ! It works perfectly on Android, but I get this error on web :
I was planing on replacing all those 64bits integer litterals by something along the line of this. for my app. Do you know if there would be a better way ?