3 ms·
Reminds me of the best optimization advice I ever got, "If you want to go faster, do less."
by w8rbt 11y ago
Reminds me of the best optimization advice I ever got, "If you want to go faster, do less."
- bitbckt 11y agoNo code is faster than no code.
- agumonkey 11y agoVery nice self referential quote. Who coined it ? ps: LMGTFM https://en.wikipedia.org/wiki/Kevlin_Henney https://en.wikipedia.org/wiki/Kevlin_Henney
- grrowl 11y agoThe first time encountering a certain JS library's $.noop function bent my brain — "why would there be a function for not calling a function?" Later, wisdom visited me and I realised the costs of `typeof isThisAFunction` and the savings of optimising out an empty function call in the first place.
- draw_down 11y agoOne time a guy in Key West told me "If you want to get there faster, run."
- eru 11y agoMore complicated these days, since you can do more overall, but in shorter time, if you do it on more cores.
- eru 11y agoOr if you manage to fit it all into cache.