4 ms·
> On modern processors, data movement is significantly more expensive than computation This is so true, and is really an emperor-has-no-clothes statement with
by georgewfraser 12y ago
> On modern processors, data movement is significantly more expensive than computation
This is so true, and is really an emperor-has-no-clothes statement with respect to this claim that in the future we're all going to use immutable data structures to leverage multiple cores. Every situation where I've had to write performant code has ended up in one of these two cases:
1. All the time is spent in linear algebra, in which case it's all about planning out the computation so LAPACK can do its thing.
2. There's some funky custom signal manipulation. Some tiny bit of code needs to be in C, with everything in nice packed arrays in the right order so you can sweep straight through.