emacs-devel
[Top][All Lists]
Advanced

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

Re: Entering emojis


From: Eli Zaretskii
Subject: Re: Entering emojis
Date: Fri, 29 Oct 2021 21:06:53 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: stefankangas@gmail.com,  emacs-devel@gnu.org
> Date: Fri, 29 Oct 2021 18:34:31 +0200
> 
> >   emacs -Q
> >   M-x load-file RET lisp/play/emoji.el RET
> >   M-x profiler-start RET RET
> >
> > Then run the command you say is slow.  When it finishes, do this:
> >
> >   M-x profiler-report RET
> 
>          133  78% - ...
>           87  51%  - let
>           87  51%   - while
>           87  51%    - let
>           87  51%     - emoji--adjust-displayable
>           87  51%      - if
>           87  51%       - setcdr
>           87  51%        - seq-filter
>           87  51%         - seq-map
>           87  51%          - apply
>           87  51%           - #<compiled 0x1843caf3bb7f29b4>
>           87  51%            - mapcar
>           87  51%             - #<compiled 0x91a61154359fe3f>
>           87  51%              - #<lambda -0x17fb383fa8059ce8>
>           87  51%               - not
>           87  51%                - symbolp
>           87  51%                   char-displayable-p

Please repeat this after "M-x load-file Ret mule.el RET", so that we
see which parts of char-displayable-p take the lion's share of the
time.  Sorry I didn't think about this earlier.




reply via email to

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