[m-rev.] for review: mercury implementation of string.m

Michael Day mikeday at bigpond.net.au
Mon Jun 17 20:57:13 AEST 2002


> No, it's because with many garbage collectors allowing pointers
> into the middle of objects has a significant performance cost.

Right. How about adding a general string buffer type, containing a string
and an index into that string (is anything else required?) that can be
used by lex and other modules that process strings in this way so that
first_char can be deprecated/removed?

Michael

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