Hello, On Sat 19 Sep 2009 20:54, Abdulaziz Ghuloum <[email protected]> writes:
> 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. Guile does this FWIW; though it skips 16-bit, having either latin-1 or utf-32. > 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] I would be interested in knowing your argument :) (Not that I have a horse in this race.) Happy hacking, Andy -- http://wingolog.org/ _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
