emacs-devel
[Top][All Lists]
Advanced

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

Re: Q on performance with 10000 faces


From: Eli Zaretskii
Subject: Re: Q on performance with 10000 faces
Date: Mon, 22 May 2006 06:41:46 +0300

> From: "Drew Adams" <address@hidden>
> Date: Sun, 21 May 2006 17:02:40 -0700
> 
> Does this mean that Emacs cannot reasonably be expected to display 10000
> face text-properties?

AFAIK, yes.  Doing what you did (a) disables all possible display
optimizations that the redisplay engine has up its sleeve to speed up
the common cases, and (b) forces Emacs to traverse the 10000 text
properties for each character it is about to display.

> If so, any advice on workarounds or other approaches?

I don't know of any, except ``don't do that'', but perhaps Kim or
Stefan will.

> Is the slowdown perhaps because of some kind of automatic updating or
> refreshing, which I could turn off somehow (I hope)?

It's because even cursor motion, that usually takes a fast shortcut
through the redisplay code, requires to search all the text properties
in your situation.




reply via email to

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