--- Begin Message ---
Subject: |
25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters |
Date: |
Fri, 07 Oct 2016 12:59:14 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt) Hamster/2.0.0.1 |
When moving in lines with characters such as WAVY LOW LINE or WAVY LINE:
- Emacs freezes for a while (noticeable) for a fraction of a second or
even longer,
- The CPU load of Emacs increases as well (up to 25% on my Windows 7
machine) in the meantime.
Text sample below:
﹏
⌇
This happens to the "native" as well as the Cygwin-compiled (--with-w32)
versions, but not with the gtk3 version (--with-x-toolkit=gtk3).
--
Georges Ko address@hidden 2016-10-07
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters |
Date: |
Sat, 08 Oct 2016 22:34:14 +0300 |
> From: Georges Ko <address@hidden>
> Date: Sat, 08 Oct 2016 23:24:24 +0800
>
> > static void
> > compact_font_caches (void)
> > {
> > struct terminal *t;
> >
> > for (t = terminal_list; t; t = t->next_terminal)
> > {
> > Lisp_Object cache = TERMINAL_FONT_CACHE (t);
> > mark_object (cache);
> > }
> > }
>
> OK, this version fixes all cases!
OK, I've now added a variable which you can set to non-nil to disable
font cache compaction. See the latest emacs-25 branch.
Thanks.
--- End Message ---