emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs's set-frame-size can not work well with gnome-shell?


From: Eli Zaretskii
Subject: Re: Emacs's set-frame-size can not work well with gnome-shell?
Date: Wed, 22 Jan 2020 17:55:29 +0200

> Date: Wed, 22 Jan 2020 16:04:21 +0800 (CST)
> From: tumashu <address@hidden>
> Cc: "address@hidden" <address@hidden>
> 
> Today I test lucid emacs again,  maybe the slowness is  posn-at-point
> 
> (benchmark 1000 '(posn-at-point (point)))
> 
> "Elapsed time: 0.684959s"

That's 0.7 msec per call.  Is that really an issue?

In any case, the performance of posn-at-point depends heavily on
what's in the buffer, and even on how close point is to the beginning
of the window.  So testing the speed in a single window with a single
position of point is not really representative of what can happen
elsewhere.



reply via email to

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