jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Detect buffer change


Hi John,

"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> =?UTF-8?Q?J=C3=B6rg?= Sommer <joerg@xxxxxxxxxxxx> wrote:
>>I want to implement caching of function calls to improve the performance
>>of my LaTeX mode. Therefore, I must know if something has changed since
>>the last call. Is this possible?
>
> There is no hook for such functionality.  From your message to the
> slang-users list, I see that you are trying out the code profiler.
> Perhaps that will address the speed problem.

Yes, the profiling showed me where the problem is, but I don't know what
to do. The hot spot is a reimplementation of find_matching_delimiter()
and a function to find a matching \begin. But the problem is that helper
functions are called often from the same position in a call trace. Is
doing some condition checks.

Bye, Jörg.
-- 
Dein Gesicht wird dir geschenkt. Lächeln musst du selber! (Inga Hermann)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]