From: Michael G. Schwern Date: Tue, 18 Feb 2003 06:33:57 +0000 (+0000) Subject: Re: -Os for Darwin why? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14c260282869b514252d84245cb9a2c34eb7d421;p=p5sagit%2Fp5-mst-13.2.git Re: -Os for Darwin why? Message-Id: <20030217191403.A17553@ttul.org> p4raw-id: //depot/perl@18740 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index 7565935..4fa2254 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -52,7 +52,11 @@ archname='darwin'; # nm works. usenm='true'; -# Optimize. +# Optimizing for size also mean less resident memory usage on the part +# of Perl. Apple asserts that this is a more important optimization than +# saving on CPU cycles. Given that memory speed has not increased at +# pace with CPU speed over time (on any platform), this is probably a +# reasonable assertion. if [ -z "${optimize}" ]; then case "$osvers" in [12345].*) optimize='-O3' ;;