2 ms·
This is great overall. One nitpick: > How compilers optimize This didn't mention scalar replacement of aggregates [1]! This is easily one of the most importan
by pcwalton 11y ago
This is great overall. One nitpick:
> How compilers optimize
This didn't mention scalar replacement of aggregates [1]! This is easily one of the most important optimizations for programmers in C++ and similar languages to know about.
[1]: https://books.google.com/books?id=Pq7pHwG1_OkC&pg=PA331&lpg=PA331&dq=scalar+replacement+of+aggregates&source=bl&ots=4Y8WHoc7lU&sig=iqAwWCX6_gyYGfHoF_x392b_zIg&hl=en&sa=X&ved=0ahUKEwiHoraj1OHJAhUOxGMKHTuJBZcQ6AEIIzAB#v=onepage&q=scalar%20replacement%20of%20aggregates&f=false https://books.google.com/books?id=Pq7pHwG1_OkC&pg=PA331&lpg=... is a reasonable explanation.