emacs-devel
[Top][All Lists]
Advanced

[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: Thu, 22 Oct 2015 15:52:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 10/22/2015 03:49 PM, Philipp Stephani wrote:
> 
> 
> Aurélien Aptel <address@hidden
> <mailto:address@hidden>> schrieb am Do., 22. Okt. 2015
> um 14:57 Uhr:
> 
>     I've added user-pointer objects. Some feedback I had off-list:
> 
>     * add functions to the API for fast vector access as it currently
>     requires too much boxing/unboxing of integers for doing
>     length/indexing stuff.
> 
> 
> This would make sense. Same with things like car and cdr etc.
> However, we should be careful not to overload the module interface. It
> might make sense to do some basic measurements using a real-life example
> and optimize only the hotspots.

Agreed.

>  
> 
>     * 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.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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