emacs-devel
[Top][All Lists]
Advanced

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

Re: follow-mode: extremely slow in combination with org-mode


From: Eli Zaretskii
Subject: Re: follow-mode: extremely slow in combination with org-mode
Date: Sun, 17 Jun 2018 11:12:39 +0300

> From: Gerald Wildgruber <address@hidden>
> CC: <address@hidden>
> Date: Sun, 17 Jun 2018 08:57:22 +0200
> 
>           - follow-windows-start-end                            17606  57%
>            - if                                                 17606  57%
>             - let                                               17603  57%
>              - let                                              17603  57%
>               - while                                           17603  57%
>                - setq                                           17599  57%
>                 - cons                                          17599  57%
>                  - cons                                         17599  57%
>                   - cons                                        17599  57%
>                    - follow-calc-win-end                        17591  57%
>                     - let*                                      17591  57%
>                      - if                                        9229  30%
>                       + let                                      1115   3%
>                       + pos-visible-in-window-p                    26   0%
>                        posn-point                                8350  27%
>                      + window-inside-pixel-edges                   12   0%

Alan, why doesn't follow-calc-win-end doesn't just use window-end with
last argument non-nil?  AFAU, that should allow you to compute the
result using 1/4 of the processing time you now invest.  Why do you
need all the rest in that function?  What am I missing?



reply via email to

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