[m-dev.] string streams

Ralph Becket rbeck at microsoft.com
Mon Nov 20 21:11:03 AEDT 2000


>From Michael Day on 19/11/2000 10:15:49
> Oh yes, people keep telling me array(char) wastes three bytes per
> character and I keep forgetting. Sorry.
> 
> So... what is the recommended way of approaching specialisations like
> this, where particular_container(T) can be implemented easily in terms of
> generalised_container(T), but for particular instances of T people wish to
> use different implementations? Or perhaps I should stop muttering and just
> do it...

I'd be inclined to knock out a char_array module; but now we have
destructively updatable strings, maybe we don't need it...

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list