From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.help Subject: Re: quickly find all executables Date: 28 Jul 2003 16:16:09 -0400 Organization: Yale University Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5lfzkqtnjq.fsf@rum.cs.yale.edu> References: <7iznj4wrb1.fsf@neoscale.com> <7ik7a6edaq.fsf@neoscale.com> <3F255B77.70100@yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059426557 6801 80.91.224.249 (28 Jul 2003 21:09:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2003 21:09:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 23:09:14 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hFBx-0001Of-00 for ; Mon, 28 Jul 2003 23:06:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hFBX-0005Wv-Nd for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2003 17:05:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!canoe.uoregon.edu!news.wss.yale.edu!rum.cs.yale.edu!rum.cs.yale.edu Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: rum.cs.yale.edu Original-X-Trace: news.wss.yale.edu 1059423372 10341 128.36.229.169 (28 Jul 2003 20:16:12 GMT) Original-X-Complaints-To: news@news.wss.yale.edu Original-NNTP-Posting-Date: Mon, 28 Jul 2003 20:16:12 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Original-NNTP-Posting-Host: rum.cs.yale.edu X-Original-Trace: 28 Jul 2003 16:16:09 -0400, rum.cs.yale.edu Original-Xref: shelby.stanford.edu gnu.emacs.help:115506 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11424 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11424 >> This is quite amazing to me -- I thought lambda's are function >> calls, and function calls are slow, at least on a CISC CPU like >> the P4 that I'm running on. The faster the CPU, the less you care about CPU speed as opposed to I/O. > Also, did you try byte-compiling the code? Eric's code would probably > benefit the most, because of the lambda form. Actually, the byte-compiler won't make any difference on Eric's code, where as Kevin's code will probably benefit more, although I doubt the differences will be noticeable since most of the time is probably spent in `file-executable-p'. Stefan