From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: User-reserved element in byte code vectors Date: Sat, 22 May 2004 03:31:54 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qqiao9o.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040515231012.GA20052@fencepost> <20040517220612.GA6421@fencepost> <20040519142851.GA17602@fencepost> <20040520003129.GA9853@fencepost> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085311261 24106 80.91.224.253 (23 May 2004 11:21:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 May 2004 11:21:01 +0000 (UTC) Cc: lars@nocrew.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 23 13:20:55 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 1BRr2F-0001pt-00 for ; Sun, 23 May 2004 13:20: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 1BRr2F-0005CK-00 for ; Sun, 23 May 2004 13:20: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 1BRqhm-0002hz-9v for emacs-devel@quimby.gnus.org; Sun, 23 May 2004 06:59:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BRqWl-0001ME-Uc for emacs-devel@gnu.org; Sun, 23 May 2004 06:48:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BRqQB-0008Qa-P1 for emacs-devel@gnu.org; Sun, 23 May 2004 06:42:08 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRiyu-0004UI-Lr for emacs-devel@gnu.org; Sat, 22 May 2004 22:44:56 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BRQz4-0003ps-1I; Sat, 22 May 2004 03:31:54 -0400 Original-To: Miles Bader In-reply-to: (message from Miles Bader on 21 May 2004 10:28:43 +0900) 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:23849 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23849 > (let ((env (vector 0))) > (curry env (lambda (env) (aset env 0 (+ (aref env 0) 1))))) Wouldn't it be better to add an env slot to byte-compiled functions? No matter how the code implements that, it ought to be somewhat faster.