tumashu

Results 311 comments of tumashu

https://github.com/tumashu/posframe/blob/dace2dcf105e9685b4085836645b3392dc7e2211/posframe.el#L657

posframe只有在极少数的情况下才会重建frame,大多数都是复用已经有的frame

我感觉可能是不小心触发了某种潜在的 bug, 就 posframe 而言,也就是移动缩放 frame ,不太可能占用7G内存

有没有使用 emacs -Q 测试过 ivy-posframe ?

如果差异只有40M的话,还是可以忍受的。。。;)

http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=246e107d73e633c06478eaf021776acedef9dafc 不知道这个对 posframe 的速度有没有提升?

``` (benchmark 1000 '(redraw-frame)) ``` 这个在果子机上速度如何?

在linux下, 1000次用时 0.0005

``` (defun posframe--set-frame-position (posframe position parent-frame-width parent-frame-height) "Move POSFRAME to POSITION. This need PARENT-FRAME-WIDTH and PARENT-FRAME-HEIGHT" (unless (and (equal position posframe--last-posframe-pixel-position) ;; When working frame's size change, re-posit ;; the...

是不是 persp-mode 将 child-frame 保存了,导致速度拖慢了。