[m-rev.] diff: --optimize-constructor-last-call for list.m and tree234.m
Zoltan Somogyi
zs at csse.unimelb.edu.au
Mon Oct 30 12:27:13 AEDT 2006
library/Mercury.options:
Turn on --optimize-constructor-last-call for list.m and tree234.m.
In the following, version 1 is with the original parameters, version 2
is with --optimize-constructor-last-call for list.m only, version 3
is with --optimize-constructor-last-call for both modules.
mercury_compile.01 average of 12 with ignore=1 20.44
mercury_compile.02 average of 12 with ignore=1 19.99
mercury_compile.03 average of 12 with ignore=1 19.83
Zoltan.
cvs diff: Diffing .
Index: Mercury.options
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/library/Mercury.options,v
retrieving revision 1.14
diff -u -b -r1.14 Mercury.options
--- Mercury.options 8 Aug 2006 08:26:26 -0000 1.14
+++ Mercury.options 29 Oct 2006 12:18:02 -0000
@@ -10,9 +10,9 @@
# compiled with these flags to make sure all calls
# to the builtin comparison routines are inlined.
TYPE_SPEC_FLAGS = --inline-vars-threshold 10000
-MCFLAGS-list += $(TYPE_SPEC_FLAGS)
+MCFLAGS-list += $(TYPE_SPEC_FLAGS) --optimize-constructor-last-call
MCFLAGS-map += $(TYPE_SPEC_FLAGS)
-MCFLAGS-tree234 += $(TYPE_SPEC_FLAGS)
+MCFLAGS-tree234 += $(TYPE_SPEC_FLAGS) --optimize-constructor-last-call
MCFLAGS-set += $(TYPE_SPEC_FLAGS)
MCFLAGS-set_ordlist += $(TYPE_SPEC_FLAGS)
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list