[mercury-users] string__first_char

Richard A. O'Keefe ok at atlas.otago.ac.nz
Mon Oct 16 12:40:26 AEDT 2000


	Otherwise it seems that working with strings will be uncomfortably
	slow without dropping down to C.
	
ISO 10646 characters (see 'wchar_t' in C or C++) are 31-bit codes.
The 16-bit barrier was actually breached within the last year or two.
I fail to see why processing 31-bit characters in a word-aligned way
should be "uncomfortably slow".

More to the point, working with strings is a mistake in any programming
language.  Strings are the ultimate data UNstructure.  The only thing they
are really good at is holding uninterpreted data that you are going to hand
straight back to the source you got it from.

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



More information about the users mailing list