forward-comment in 21.2 (and 21.4) is _far_ slower than it is in 21.1.
Consider this profile of indent-for-tab-command run 25 times at the
end of config.h.in (with font lock turned off --- turning it on making
it so slow that it's nearly unusable)
Function Name Ticks %/Total Call Count
======================= ===== ======= ==========
forward-comment 183 69.582 22308
re-search-forward 22 8.365 22308
re-search-backward 22 8.365 52
c-backward-syntactic-ws 17 6.464 130
scan-lists 9 3.422 1768
back-to-indentation 4 1.521 22542
byte-code 3 1.141 1794
char-before 2 0.760 22672
scan-sexps 1 0.380 1742
--------------------------------------------------------
Total 263 100.000
This produces a noticeable delay.
It barely shows up under the same conditions (same test, same version
of cc-mode (heck, symlink to the same xemacs-packages directory).
Does this happen for anyone else?
--
"Real minds that really grow take offense sometimes - and give it
sometimes. The desire never to offend or be offended is the desire not
to think."
-trhurler, Kuro5hin
Show replies by date