From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: propose deprecation of generalized-vector-* Date: Mon, 18 Feb 2013 16:40:24 +0100 Message-ID: <87bobhbpg7.fsf@pobox.com> References: <0F432FA1-CFF8-4A22-A477-5291A1B9925D@bluewin.ch> <87ip9mgzp4.fsf@gnu.org> <878v7m5xdh.fsf@pobox.com> <2E5FFE0D-9001-409C-BCD4-9EE3BF9883F0@bluewin.ch> <87mww0nu8l.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361202045 19430 80.91.229.3 (18 Feb 2013 15:40:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 15:40:45 +0000 (UTC) Cc: ludo@gnu.org, guile-devel@gnu.org To: Daniel Llorens Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Feb 18 16:41:07 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7Sq2-00054T-Si for guile-devel@m.gmane.org; Mon, 18 Feb 2013 16:41:06 +0100 Original-Received: from localhost ([::1]:58856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Spi-0004x8-Sv for guile-devel@m.gmane.org; Mon, 18 Feb 2013 10:40:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Spd-0004wl-8o for guile-devel@gnu.org; Mon, 18 Feb 2013 10:40:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7SpS-00023d-Sr for guile-devel@gnu.org; Mon, 18 Feb 2013 10:40:41 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:45206 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7SpS-000236-OF; Mon, 18 Feb 2013 10:40:30 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 260CAB720; Mon, 18 Feb 2013 10:40:28 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=1XxNyXIw0kLqzvCM2d+81tBPXIA=; b=sMJM4k KLi+ZNhpoQvwGCar4QRVgGCmOQfetQBYthEgrBOPWUu4FobmfC/oyPKdBE20nXnk +96LNAiQN3nXUhYm8CR/VYWwgWV2YMTQAalCo6yDKUT2HIHoPj5NvqBAPuP4z9FX V2skt02eAHiVO/dJx6WBm6X1Q87Rza9TaSQ2A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=wMoRbmdMlNsaITH1bWLG5Rn+gG8Xrvax pTYsaByS+UTaI/DOL36NEfTnYBryYHNzG19YTjzWSTr5BD4OpzW2wb9C0AxLz7Tl 9+zJPBBwAjgRfvBSc/7DUpnYtUwlXFk4yaglVi4owgUAW0oOEAeoOzgjPb3cMdgp QUPW/WrOz2U= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 1DDCDB71F; Mon, 18 Feb 2013 10:40:28 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 9A90FB71E; Mon, 18 Feb 2013 10:40:26 -0500 (EST) In-Reply-To: <87mww0nu8l.fsf@pobox.com> (Andy Wingo's message of "Wed, 23 Jan 2013 10:06:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 843B4890-79E1-11E2-BE52-9A5B0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15759 Archived-At: Hi Daniel, On Wed 23 Jan 2013 10:06, Andy Wingo writes: > On Tue 22 Jan 2013 15:31, Daniel Llorens writes: > >> On Jan 21, 2013, at 17:11, Andy Wingo wrote: >> >> The patch attached applies over yours and is to document this function >> and a couple others in the manual. > > Thanks, applied and pushed to wip-generalized-vectors. I'll merge this branch shortly, as there have been no objections. >> Maybe we should have scm_array_ref_1, scm_array_ref_2, etc. as it is >> done for some other functions taking rest lists. I can write a patch >> for that. > > For C, that makes sense. Something should be done for Scheme as well, > but it's not terribly urgent. Perhaps make scm_array_ref not be bound > to "array-ref", and instead bind "array-ref" to some function that takes > two optional arguments and a rest argument. A poor man's case-lambda... I have implemented this in stable-2.0. It should speed up array operations from Scheme significantly. Andy -- http://wingolog.org/