[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal visibility
From: |
Neil Jerram |
Subject: |
Re: Internal visibility |
Date: |
Wed, 11 Jun 2008 08:37:56 +0100 |
2008/6/11 Han-Wen Nienhuys <address@hidden>:
>
> I think that a sequence of Unicode code points this is a somewhat
> limited view of how strings should be used. Among others, the
> implication is that programs cannot rely on being able to index a
> string in O(1) time (since the string might be UTF-x encoded).
>
> What do I use if I want to have guaranteed O(1) indexing -that is- if
> I want to manipulate strings of bytes?
>
> How would I read the contents of a binary file without jumping through
> encoding hoops?
A uniform byte array?
Neil
- Re: Internal visibility, (continued)
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/11
- Re: Internal visibility, Ludovic Courtès, 2008/06/11
- Re: Internal visibility, Clinton Ebadi, 2008/06/11
- Re: Internal visibility, Ludovic Courtès, 2008/06/11
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/14
- Re: Internal visibility, Ludovic Courtès, 2008/06/23
- Re: Internal visibility,
Neil Jerram <=