Hi,

Han-Wen Nienhuys <[EMAIL PROTECTED]> 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