3 ms·
Sometimes there is such a thing as the fastest code: http://forwardscattering.org/post/13 http://forwardscattering.org/post/13 Edit: In the black book the 'ain
by Ono-Sendai 7y ago
Sometimes there is such a thing as the fastest code: http://forwardscattering.org/post/13 http://forwardscattering.org/post/13
Edit: In the black book the 'ain't no such thing as the fastest code' seemed to be a bit of 'folksy' wisdom, illustrated by various anecdotes about fast code being upstaged by yet faster code.
However it rubs me a little the wrong way, considering that it's not actually a true statement as demonstrated in my link above.
- remon 7y agoYou're right of course but I think we have to recognise that for all sufficiently complex problems Abrash' "folksy wisdom" is effectively true and, in his particular case, a good chapter title more than a statement of fact.
- vardump 7y agoTrue on an ideal computer with absolutely no other software running and no cache effects, dependency chain stalls, branch prediction failures, and so on. Software equivalent of a spherical cow.
- inflatableDodo 7y agoHardware matters.