[Top][All Lists]

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

Re: Release plans

From: Lennart Borgman (gmail)
Subject: Re: Release plans
Date: Fri, 29 Aug 2008 22:53:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Stefan Monnier wrote:
>>    it would be very nice, performance-wise and semantics-wise, to
>>    be able to address the database from lisp directly rather than
>>    going through the serialization bottleneck to a sub-process.
>> I think you've got it backwards; in any system involving Emacs (of
>> the current design), the serialization bottleneck is Emacs `eval'.
> I'm not sure I understand what you mean.  In the case of something like
> Semantic, if parsing in Elisp is too expensive or if you want to use
> some existing C code to do the parsing, the bottleneck you'll have to
> handle is that the external process can't directly access the buffer's
> text, and it can be very costly to pass that text to the subprocess and
> then process the returned value (which may look like a list of text
> properties to add to various parts of the text).
> A DLL could be significantly more efficient.  The difference can be as
> large as "on-the-fly" vs "batch".

It looks to me like the buffer string routines Thomas is working on
could perhaps make that easier to implement (in the DLL case of course).
But I guess you have thought much more about that, Thomas?

reply via email to

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