2 ms·
Then there's memory locality, and shared memory. if you keep bitbanging the same area, your processor might be very happy. FP will create temporary structures t
by agumonkey 3y ago
Then there's memory locality, and shared memory. if you keep bitbanging the same area, your processor might be very happy. FP will create temporary structures to derive the next computation and it may cost a bit much. I say may because I have no experience in this, just semi educated guess. Our processors are well made to hammer the same insts on the same memlocs.
ps: of course FP shields you from having to manage correct state update seen in imperative programming, which might require a lot, a lot, of reads and writes to ensure things are not messed up.