[r6rs-discuss] Unicode issues

William D Clinger will at ccs.neu.edu
Wed Aug 29 17:42:44 EDT 2007


I wrote:
> In short:  We can develop a nice API for immutable texts,
> and make it into a popular SRFI, so long as we have O(1)
> string operations....

Sorry, we don't really need O(1) string operations for this.
We can write three difference reference implementations:

  * the preferred (and fastest) implementation would use
    strings as the low-level containers for characters

  * another implementation would use vectors instead of
    strings, for use in R5RS-conforming systems whose
    strings are inefficient

  * a third implementation would use bytevectors instead
    of strings, for use in R6RS systems whose strings are
    inefficient

Will



More information about the r6rs-discuss mailing list