On 2016-9-6 10:10 , Fred Wright wrote:
On Sat, 3 Sep 2016, Ryan Schmidt wrote:
But only do this if this software requires it. Otherwise, let MacPorts use its
default value of -Os.
Seriously? In this day and age?
AIUI, Apple used to use -Os for their own builds in the PPC era, since it
was needed to keep the bloat down to a dull roar in relation to disk
drives at the time. But when they switched to Intel, they also switched
to -O2. This allowed them to inflate the performance benefit of the
architecture switch. :-)
The gap between CPU speeds and memory speeds has grown much larger since
the PPC era. The biggest factor in performance is usually whether your
working set fits in the CPU caches, and if so, which level.
- Josh
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev