From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Slow repainting, sluggish feeling emacs Date: Tue, 13 May 2008 21:40:33 +0300 Message-ID: References: <475204970805121810y5edc513by93a0fdbcd2ca557@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1210704090 17835 80.91.229.12 (13 May 2008 18:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 18:41:30 +0000 (UTC) Cc: david.boon@gmail.com, emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 20:42:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JvzRm-00040z-FQ for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 20:41:58 +0200 Original-Received: from localhost ([127.0.0.1]:35622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvzR3-0007YG-Ik for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 14:41:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvzQS-000797-A6 for emacs-devel@gnu.org; Tue, 13 May 2008 14:40:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvzQR-00078F-HZ for emacs-devel@gnu.org; Tue, 13 May 2008 14:40:35 -0400 Original-Received: from [199.232.76.173] (port=36164 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvzQR-000780-6U for emacs-devel@gnu.org; Tue, 13 May 2008 14:40:35 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:63001) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvzQR-0004jJ-4a for emacs-devel@gnu.org; Tue, 13 May 2008 14:40:35 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K0T00AE0LVTMLL0@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Tue, 13 May 2008 21:55:05 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:97096 Archived-At: > Date: Tue, 13 May 2008 10:40:23 +0530 > From: dhruva > Cc: emacs-pretest-bug@gnu.org, emacs-devel@gnu.org > > My expereince is more concerned with visiting files. I tried setting > w32-get-true-file-attributes to nil. It appears to be faster than > before but I need to test it further. The OP reported slowdown with redisplay and ibuffer, which I think cannot have anything to do with the changes in w32 subroutines called by file-attributes. As for what you see, I announced here that the changes I made in the emulation of `stat' in w32.c could very well make Emacs slower in accessing many files, like in Dired. I intend to work on speeding that up, but in the meantime, if the slowdown annoys you, I advised to set w32-get-true-file-attributes to nil. If even setting it to nil doesn't help, then the slowdown has nothing to do with my changes to `stat' (whose purpose was to report true owner of each file and its primary group), because a nil value causes `stat' to shortcut the code I added.