From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Function vectors: +funvec-20030516-0-c.patch Date: Sun, 16 May 2004 20:30:32 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040517003032.GA31108@fencepost> References: <874qqiao9o.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040515231754.GB20052@fencepost> <87r7tlggue.fsf_-_@tc-1-100.kawasaki.gol.ne.jp> <20040517000346.GA25130@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084754015 24519 80.91.224.253 (17 May 2004 00:33:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 00:33:35 +0000 (UTC) Cc: emacs-devel@gnu.org, Richard Stallman , Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 17 02:33:30 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPW4Q-0003GI-00 for ; Mon, 17 May 2004 02:33:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPW4P-0001xq-00 for ; Mon, 17 May 2004 02:33:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPW3x-0003ED-SM for emacs-devel@quimby.gnus.org; Sun, 16 May 2004 20:33:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPW3a-0003CF-Jv for emacs-devel@gnu.org; Sun, 16 May 2004 20:32:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPW1l-0002Dp-RC for emacs-devel@gnu.org; Sun, 16 May 2004 20:31:24 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPW1f-0002A4-9h for emacs-devel@gnu.org; Sun, 16 May 2004 20:30:43 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BPW1Y-0000Qa-GI; Sun, 16 May 2004 20:30:32 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23558 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23558 On Sun, May 16, 2004 at 08:14:51PM -0400, Stefan Monnier wrote: > It adds yet-anoter-form-of-function. I.e. it makes function calls yet > a tiny bit slower, forces placed that look inside functions (like > describe-function) to deal with yet-another-case, ... Well, as I said, the cost is `negligible' -- it's essentially another EQ test, a branch, and some adds, in a non-fast-path location. It shares 99% of its code with normal curry. Probably the biggest cost is actually the docstring. > From what I can tell, rcurry will simply never be used. Er, I just said that I'd used it in the past; don't you believe me? It's good to think about cost/benefit tradeoffs, but there's a point at which it can become silly. -Miles -- `The suburb is an obsolete and contradictory form of human settlement'