emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 eec71eb: Speed up replace-buffer-contents


From: Eli Zaretskii
Subject: Re: emacs-26 eec71eb: Speed up replace-buffer-contents
Date: Tue, 03 Jul 2018 22:28:39 +0300

> Cc: Eli Zaretskii <address@hidden>
> From: Paul Eggert <address@hidden>
> Date: Mon, 2 Jul 2018 23:25:03 -0700
> 
> Glenn Morris wrote:
> > This didn't merge cleanly to master; please could you check I didn't
> > mess it up...
> 
> Looks OK to me, though Eli is better positions to check.

Looks OK to me too.  Thanks for merging, Glenn.

> Probably could tune that code more. I'll see if I can spring free some time 
> to 
> do that.

I just made a simple change that sped up the bug#31888 recipe by 30%.
Profiling shows that 'diag' takes 32% of the CPU time, and
buffer_chars_equal takes another 45%.  So any significant gains will
be in buffer_chars_equal, I think.



reply via email to

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