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

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to