From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Q on performance with 10000 faces Date: Tue, 23 May 2006 17:02:22 -0700 Message-ID: References: <200605232348.k4NNmBdf017504@jane.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148428971 23063 80.91.229.2 (24 May 2006 00:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 May 2006 00:02:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 24 02:02:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Figpm-0000Lb-FW for ged-emacs-devel@m.gmane.org; Wed, 24 May 2006 02:02:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Figpm-0005fm-5p for ged-emacs-devel@m.gmane.org; Tue, 23 May 2006 20:02:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Figpb-0005fX-KU for emacs-devel@gnu.org; Tue, 23 May 2006 20:02:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FigpZ-0005fH-E5 for emacs-devel@gnu.org; Tue, 23 May 2006 20:02:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FigpZ-0005fD-5q for emacs-devel@gnu.org; Tue, 23 May 2006 20:02:29 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1Figts-0005lA-UJ for emacs-devel@gnu.org; Tue, 23 May 2006 20:06:57 -0400 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k4O02QCo026609 for ; Tue, 23 May 2006 19:02:26 -0500 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-74-177.vpn.oracle.com [141.144.74.177]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k4O02PXG003065 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 23 May 2006 18:02:26 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: <200605232348.k4NNmBdf017504@jane.dms.auburn.edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55164 Archived-At: You could try to see whether anything in the code you load in your .emacs calls one of the text property search functions in a loop (10000 times in your case). For instance \(next\|previous\)-\(char-\)?property-change. If this happens from a hook or timer, it definitely could give you trouble, You could grep the code loaded by your .emacs for these and related text property search functions. I can definitely see why things might get slow for you if you would make parts of your buffer invisible (would probably make line-move slow) or when you would try to copy a large part of your buffer by yanking (remove-yank-excluded-properties would be doing a lot of work). Thanks, Luc. I'll take a look when I get some time. I don't make any text invisible, and I don't yank text by program. I will look for property-change searches.