all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* put-text-property slowness
@ 2006-03-23  5:26 Karl Chen
  2006-03-27 18:39 ` Drew Adams
  0 siblings, 1 reply; 6+ messages in thread
From: Karl Chen @ 2006-03-23  5:26 UTC (permalink / raw)



When font-lock-support-mode is nil, dired with dired+ takes way
too long on large directories: on the order of many minutes; if I
set font-lock-support-mode to 'jit-lock-mode, then it takes less
than half a second.

So there's an easy workaround but it wasn't easy to find.  From
casual profiling, the issue seems to be the thousands of
`put-text-property' calls in `insert-directory'.

Steps to reproduce:

wget http://www.emacswiki.org/cgi-bin/wiki/dired+.el/download/dired+.el

[add directory containing dired+.el to load-path]

emacs -q

(require 'dired+)
(setq font-lock-support-mode nil)
(dired "/usr/bin")


-- 
Karl 2006-03-22 20:03

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-03-28 10:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23  5:26 put-text-property slowness Karl Chen
2006-03-27 18:39 ` Drew Adams
2006-03-27 23:56   ` Karl Chen
2006-03-28  6:34     ` Romain Francoise
2006-03-28 10:08       ` Karl Chen
2006-03-28 10:34         ` Romain Francoise

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.