emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic loading progress


From: Eli Zaretskii
Subject: Re: Dynamic loading progress
Date: Fri, 23 Oct 2015 10:00:31 +0300

> From: Philipp Stephani <address@hidden>
> Date: Thu, 22 Oct 2015 22:49:01 +0000
> Cc: Stephen Leake <address@hidden>, Daniel Colascione <address@hidden>, 
>       Tom Tromey <address@hidden>, Eli Zaretskii <address@hidden>, 
>       Emacs development discussions <address@hidden>
> 
>     * 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.

It is well defined.

> What should modules do with such string access? They could only
> treat the contents as opaque byte arrays.

That'd mean high-performance string processing in modules will be
impossible, because you'd need either to use Lisp interfaces (and
create a Lisp string for them each time you call them), or
encode/decode each string before using it with libc functions.  That'd
be a pity, I think.



reply via email to

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