[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic loading progress
From: |
Daniel Colascione |
Subject: |
Re: Dynamic loading progress |
Date: |
Fri, 23 Oct 2015 00:17:03 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 10/23/2015 12:05 AM, Eli Zaretskii wrote:
>> Cc: Stephen Leake <address@hidden>,
>> Tom Tromey <address@hidden>, Eli Zaretskii <address@hidden>,
>> Emacs development discussions <address@hidden>
>> From: Daniel Colascione <address@hidden>
>> Date: Thu, 22 Oct 2015 15:52:58 -0700
>>
>>> * expose fast read-only string access (not sure how do-able this is
>>> considering the encoding problem)
>>>
>>>
>>> If the internal Emacs encoding is not defined, then we probably
>>> shouldn't expose it to modules. What should modules do with such string
>>> access? They could only treat the contents as opaque byte arrays.
>>
>> Agreed, although there may be a reasonable case for an API that provides
>> direct access to strings that happen to be ASCII (or UTF-8) and that
>> runs a conversion otherwise, all transparently.
>
> Not sure what you mean here. First, the internal representation is a
> superset of UTF-8, so if we can provide direct access to UTF-8, why
> not let modules access the internal representation?
You're right. There are few downsides to providing direct access
provided we document that strings are usually, but not always, strict UTF-8.
signature.asc
Description: OpenPGP digital signature
- Re: Dynamic loading progress, (continued)
- Re: Dynamic loading progress, Stephen Leake, 2015/10/20
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/20
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/22
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/22
- Re: Dynamic loading progress, Eli Zaretskii, 2015/10/22
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/22
- Re: Dynamic loading progress, Daniel Colascione, 2015/10/22
- Re: Dynamic loading progress, Eli Zaretskii, 2015/10/23
- Re: Dynamic loading progress,
Daniel Colascione <=
- Re: Dynamic loading progress, Eli Zaretskii, 2015/10/23
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/25
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/25
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/25
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/25
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/25
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/25
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/28
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/14
- Re: Dynamic loading progress, Daniel Colascione, 2015/10/15