[m-rev.] for review: type_to_univ speedup

Zoltan Somogyi zs at cs.mu.OZ.AU
Wed Dec 19 14:34:48 AEDT 2001


On 19-Dec-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> The log message is wrong, since they are not dynamic checks.
> They may *look* like dynamic checks, but it all gets resolved at compile time.

No, it doesn't. What drew my attention in the first place was a code generator
abort on the disjunction in that predicate when I was working on the
elimination of stack saves across calls that cannot return.

Here is the new log message.

Estimated hours taken: 0.1
Branches: main

library/std_util.m:
	Replace calls to var/1 in type_to_univ with mode-specific clauses.
	Since var/1 is impure, it was not being optimized away, and neither
	was the disjunction around it.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list