r/ProgrammerHumor • • Aug 08 '16

JQuery Does All Things!

https://i.reddituploads.com/b79bb2d6e2f14e65b769686647cc4782?fit=max&h=1536&w=1536&s=ed6be616a7a0467c49330eda9253811e
3.0k Upvotes

207 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Aug 08 '16

[deleted]

10

u/anomalous_cowherd Aug 08 '16

You joke, but... imagine taking every possible input up to say 16x16 and putting their FFT outputs into a LUT. Then compress that multi-GB LUT hard... want to bet it would come down to a bit under 75MB?

Uncompress it at boot into your CUDA video RAM and watch those non-FFTs fly!

7

u/Jacques_R_Estard Aug 08 '16

Well, going with my use case of typically 128 bit complex FFTs, that would be a lookup table of 2128*256 (that's a 1 with roughly 10k zeros) entries (discounting symmetries because I'm lazy etc.). That feels like it should be sort of hard to compress into 75MB.

Also, I'm willing to bet the memory lookups would be more expensive than just doing the FFT.

But I admire your dedication to the concept.

6

u/anomalous_cowherd Aug 08 '16

I see you haven't come across Recursive Lossless Compression

5

u/Jacques_R_Estard Aug 08 '16

I have not. I am, however, familiar with the Sloot Digital Coding System. And curiously unfamiliar with the pigeonhole principle.