[m-rev.] for review: string__join_list

Ralph Becket rbeck at microsoft.com
Mon Jun 25 20:02:22 AEST 2001


> From: Zoltan Somogyi [mailto:zs at cs.mu.OZ.AU]
> Sent: 25 June 2001 05:52
>
> +	% Implementation of string__append_list that uses C as this
> +	% minimises the amount of garbage created.
>  :- pragma foreign_proc("C", string__append_list(Strs::in) =
(Str::out),
>  		[will_not_call_mercury, thread_safe], "{

There's an awful lot of foreign_code in string.m.  For maintenance
reasons it might be better to replace it all with Mercury calling
two or three impure foreign_code primitives.

But that should be a separate change.

- 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