From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ben Wing" Newsgroups: gmane.emacs.devel Subject: Re: Profiling font-lock in xemacs Date: Sat, 29 Jun 2002 12:34:18 -0700 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: main.gmane.org 1025379386 31522 127.0.0.1 (29 Jun 2002 19:36:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2002 19:36:26 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, ben@666.com, bws@deepcopy.org, xemacs-design@xemacs.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17OO1C-0008CJ-00 for ; Sat, 29 Jun 2002 21:36:26 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17OO4u-0005Kp-00 for ; Sat, 29 Jun 2002 21:40:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OO12-0003MB-00; Sat, 29 Jun 2002 15:36:16 -0400 Original-Received: from f273.law12.hotmail.com ([64.4.18.148] helo=hotmail.com) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17ONzA-00034n-00; Sat, 29 Jun 2002 15:34:20 -0400 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 29 Jun 2002 12:34:18 -0700 Original-Received: from 80.21.147.241 by lw12fd.law12.hotmail.msn.com with HTTP; Sat, 29 Jun 2002 19:34:18 GMT X-Originating-IP: [80.21.147.241] Original-To: rms@gnu.org X-OriginalArrivalTime: 29 Jun 2002 19:34:18.0757 (UTC) FILETIME=[F606DB50:01C21FA3] Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5265 >From: Richard Stallman >Reply-To: rms@gnu.org >To: ben_wing@hotmail.com >CC: monnier+gnu/emacs@rum.cs.yale.edu, ben@666.com, bws@deepcopy.org, >xemacs-design@xemacs.org, emacs-devel@gnu.org >Subject: Re: Profiling font-lock in xemacs >Date: Sat, 29 Jun 2002 02:41:06 -0600 (MDT) > >It would be better not to have a delay of even .25 second in handling >C-g. It ought to respond crisply. of course, this is only on systems without SIGIO, where we have no choice but to implement such a thing. > >If the delay were made smaller, eventually it would be insignificant. >I don't know at what point that is reached. .25 second is pretty small. the smaller you go, of course, the more cpu time you potentially use up. > >Currently on some systems C-g handling can involve a delay of up to 1 >second, the wait for "polling for input". That's because when it was >implemented there was no better facility to use than `alarm'. >Nowadays I gather there is one; we should change the polling interval >to something shorter than a second. setitimer() on unix systems. _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com