From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Function vectors: +funvec-20030516-0-c.patch Date: 18 May 2004 09:30:02 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: 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> <20040517003032.GA31108@fencepost> <20040517222151.GB6421@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084905678 24911 80.91.224.253 (18 May 2004 18:41:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 May 2004 18:41:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 18 20:40:56 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 1BQ9WJ-0005TR-00 for ; Tue, 18 May 2004 20:40:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQ9WJ-0001XY-00 for ; Tue, 18 May 2004 20:40:55 +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 1BQ8MP-000686-0L for emacs-devel@quimby.gnus.org; Tue, 18 May 2004 13:26:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BQ8Lf-00065d-UV for emacs-devel@gnu.org; Tue, 18 May 2004 13:25:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BQ6Ty-0003jZ-OD for emacs-devel@gnu.org; Tue, 18 May 2004 11:26:50 -0400 Original-Received: from [206.47.199.166] (helo=simmts8-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQ4fX-000055-B5; Tue, 18 May 2004 09:30:07 -0400 Original-Received: from empanada.local ([67.71.116.83]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040518133006.FIEW15930.simmts8-srv.bellnexxia.net@empanada.local>; Tue, 18 May 2004 09:30:06 -0400 Original-Received: by empanada.local (Postfix, from userid 502) id F1A68190063; Tue, 18 May 2004 09:30:02 -0400 (EDT) Original-To: Miles Bader In-Reply-To: <20040517222151.GB6421@fencepost> Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:23649 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23649 > BTW, this brings back a question you asked in private email a loooong time Ah, glad to see you *did* receive (and read) it ;-) > Working on this closure stuff, I now realize I can get rid of the special > code and instead use a #[] closure that calls a special > `call-interpreted-closure' internal function which just passes its args to > the guts of funcall, bypassing the normal `resetting' mechanism. Essentially > the same thing, but it gets rid of special-case code in central places like > Ffuncall &c. Yes. Your `curry' objects are extremely flexible indeed. That's why I think an extra nil slow for some unlikely special case is completely unnecessary. Stefan