[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
put-text-property slowness
From: |
Karl Chen |
Subject: |
put-text-property slowness |
Date: |
Wed, 22 Mar 2006 21:26:46 -0800 |
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
- put-text-property slowness,
Karl Chen <=