summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2003-02-18 06:33:57 +0000
committerArtur Bergman <sky@nanisky.com>2003-02-18 06:33:57 +0000
commit14c260282869b514252d84245cb9a2c34eb7d421 (patch)
tree091816080b9b48ab84de58d844f391915aca8381
parentcb8340be3384a90a55aad4280e799b656e1fa8af (diff)
downloadperl-14c260282869b514252d84245cb9a2c34eb7d421.tar.gz
Re: -Os for Darwin why?
Message-Id: <20030217191403.A17553@ttul.org> p4raw-id: //depot/perl@18740
-rw-r--r--hints/darwin.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 7565935274..4fa2254bf3 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' ;;