guile-devel
[Top][All Lists]
Advanced

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

Re: Internal visibility


From: Ludovic Courtès
Subject: Re: Internal visibility
Date: Wed, 11 Jun 2008 09:18:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi,

Han-Wen Nienhuys <address@hidden> writes:

> What do I use if I want to have guaranteed O(1) indexing -that is- if
> I want to manipulate strings of bytes?  

That's an interesting but different story: whether `string-{ref,set!}'
are O(1) doesn't influence the Scheme/C string conversion API design
since, again, it's not desirable to expose Guile's internal string
representation.

(If you really want to investigate that question, Will Clinger has a
very good page on the topic:
http://larceny.ccs.neu.edu/larceny-trac/wiki/StringRepresentations .)

Thanks,
Ludovic.





reply via email to

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