* ECB eat CPU
@ 2012-06-20 1:13 毛礼杰
2012-06-20 13:05 ` Doug Lewan
0 siblings, 1 reply; 2+ messages in thread
From: 毛礼杰 @ 2012-06-20 1:13 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
Hi,
I run GNU emacs23.4.1 + ECB2.40(from cvs) + cedet1.1 on CentOS5
and sometimes, emacs eat all CPU (90+%), after a few seconds, it recover
but this situation is very often,
It may be ECB's problem, when deactivate ECB
it run more smooth, Is there anyone know how to do with it? or disable
some
function of ECB to let it better ? I only use ECB's methods buffer.
--
毛礼杰 <Mao Lijie>
[-- Attachment #2: Type: text/html, Size: 575 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: ECB eat CPU
2012-06-20 1:13 ECB eat CPU 毛礼杰
@ 2012-06-20 13:05 ` Doug Lewan
0 siblings, 0 replies; 2+ messages in thread
From: Doug Lewan @ 2012-06-20 13:05 UTC (permalink / raw)
To: 毛礼杰, help-gnu-emacs@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]
Mao,
While I don't know ECB specifically, my experience is that when emacs eats the CPU there's a complex regular expression at the heart of it.
(Personally, I'm happy to sacrifice the CPU for a few seconds to let a regular expression do a lot of work for me.
But I'm generally upset when it goes on for minutes or hours.)
I've also found that a really bad regular expression can typically be improved by making it less ambiguous.
Perhaps you could narrow it down to the offending function and then the offending regular expression.
The worst you could do is prove me wrong.
,Doug
From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On Behalf Of ???
Sent: Tuesday, 2012 June 19 21:14
To: help-gnu-emacs@gnu.org
Subject: ECB eat CPU
Hi,
I run GNU emacs23.4.1 + ECB2.40(from cvs) + cedet1.1 on CentOS5
and sometimes, emacs eat all CPU (90+%), after a few seconds, it recover
but this situation is very often,
It may be ECB's problem, when deactivate ECB
it run more smooth, Is there anyone know how to do with it? or disable some
function of ECB to let it better ? I only use ECB's methods buffer.
--
毛礼杰 <Mao Lijie>
[-- Attachment #2: Type: text/html, Size: 5403 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-20 13:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20 1:13 ECB eat CPU 毛礼杰
2012-06-20 13:05 ` Doug Lewan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).