3 ms·
A famous quote by Knuth comes to mind... Fast code is often unreadable or unmaintainable, software should be written with it's lifespan in mind. That's not an
by mhh__ 8y ago
A famous quote by Knuth comes to mind...
Fast code is often unreadable or unmaintainable, software should be written with it's lifespan in mind. That's not an invitation to write slow code, but microoptimizations can be a disatrous temptation (Especially when writing low level code). Compilers are pretty fucking good these days so I think trusting them can be very helpful.
How can you know if you don't measure?
- SamReidHughes 8y agoI know what compilers do and might not do to code, so they're not the issue. I'm not talking about a x ^= y ^= z here, I'm taking about alternate algorithms and data representations.