(no title)
YesThatTom2 | 4 months ago
It’s also a reminder that compilers aren’t magic and optimizers aren’t all-knowing.
People have a tendency to ascribe magical properties to anything they don’t understand. Compilers and optimizers more so.
Measure before and after any optimization. You’d be surprised at what does and doesn’t improve efficiency.
Today’s CPUs are more complex than a human can understand.
Measure twice, cut once.
pjmlp|4 months ago
Only because it used to be true in the past, someone told it was so during a coffee break, or it appeared in some computer related article.
superblas|4 months ago