guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: O(1) accessors for UTF-8 backed strings


From: Alex Shinn
Subject: Re: O(1) accessors for UTF-8 backed strings
Date: Sun, 13 Mar 2011 13:42:34 +0900

On Sun, Mar 13, 2011 at 1:05 PM, Mark H Weaver <address@hidden> wrote:
> address@hidden (Ludovic Courtès) writes:
>> I also think strings should remain what they currently are, with O(1)
>> random access.
>
> I just realized that it is possible to implement O(1) accessors for
> UTF-8 backed strings.

It's possible with several approaches, but not necessarily worth it:

http://trac.sacrideo.us/wg/wiki/StringRepresentations

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]