[m-rev.] for review: IL back-end: use value types for environments

Ralph Becket rbeck at microsoft.com
Mon Jul 23 18:40:29 AEST 2001


> From: Fergus Henderson [mailto:fjh at cs.mu.OZ.AU]
> Sent: 22 July 2001 15:26
> 
> On 17-Jul-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > Err... called my bluff eh....
> > - Implementing arrays of unboxed types (int[])
> 
> I'm not sure what you're referring to there, since such arrays are
> implemented and work fine -- they are used e.g. in the code that
> we generate for string switches.
> 
> If you're talking about implementing the Mercury type `array(int)'
> as the IL type `int []', then I don't think it is a good idea,
> because it would require implicit O(N) conversions.

I don't understand why this is the case - can you explain?

- Ralph
--------------------------------------------------------------------------
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