On Sep 19, 2009, at 8:24 AM, John Cowan wrote: > 3) If strings are immutable, it's possible to have both fast O(1) > access to individual characters or substrings, and fairly space- > efficient > representation of full Unicode strings, by using different > representations > for strings drawn from diferent character repertoires. For example, > an implementation might use 8-bit code units when all characters are > less than \#x100, 16-bit code units when all characters are less than > \#x10000, and 32-bit code units otherwise.
John, For how many years have you been arguing for "space efficient" internal representations and no one has been listening? Do you know why? [Hint: it's not because implementors don't care about space efficiency] Aziz,,, _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
