2 ms·
You have to revalidate your assumptions from time to time. I proved to a vendor they had screwed up CSPRNG seeding by doing a scatterplot of the first result f
by hinkley 6y ago
You have to revalidate your assumptions from time to time.
I proved to a vendor they had screwed up CSPRNG seeding by doing a scatterplot of the first result from a large number of seeds. It ran so fast I bumped the loop counter up to max_int and it still ran in a minute or two on a laptop from 10 years ago.
When you can fit everything in cache, a CPU can sure run a lot of arithmetic in no time at all.
- dragontamer 6y agoBrute-force numeric techniques are more fun on GPUs by the way. 4096 SIMD cores (163840 "CUDA threads" I guess) on a Vega64 at 1.5GHz with single-clock add / subtract / multiply / AND / OR / XOR instructions. Brute force is surprisingly parallel, because there's no "shared information" between threads. So its super easy to program and parallelize. I started searching 40+ bit numbers to see how far up I could go while staying under 1-minute runtimes. ----------- If you can keep your program state in under 100-bytes, so that your entire program fits inside of the Register-space of GPUs... things go fast. Extremely fast.