From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Merging nth, aref, and elt. Date: Fri, 31 Oct 2014 15:13:27 -0400 Message-ID: References: <87oast997c.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414785952 1688 80.91.229.3 (31 Oct 2014 20:05:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 20:05:52 +0000 (UTC) Cc: David Kastrup , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 31 21:05:45 2014 Return-path: Envelope-to: ged-emacs-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 1XkIS6-0002mQ-9g for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 21:05:42 +0100 Original-Received: from localhost ([::1]:42446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkIS5-0008Ij-Oa for ged-emacs-devel@m.gmane.org; Fri, 31 Oct 2014 16:05:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHdp-0003W2-3U for emacs-devel@gnu.org; Fri, 31 Oct 2014 15:13:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkHdg-0007A6-Au for emacs-devel@gnu.org; Fri, 31 Oct 2014 15:13:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:20051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHdY-00077l-Ic; Fri, 31 Oct 2014 15:13:28 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWyIIFvggAegXYhgnoBAQE X-IPAS-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAwEBAwFWIwULCw4mEhQYDSSISwnLcgEBAQEGAQEBAR6RCAeESwWyIIFvggAegXYhgnoBAQE X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95691684" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Oct 2014 15:13:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6DF8262BA; Fri, 31 Oct 2014 15:13:27 -0400 (EDT) In-Reply-To: (Artur Malabarba's message of "Thu, 30 Oct 2014 13:30:42 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176154 Archived-At: > So it looks like there's nothing to be done. here :-) I think there is: - The efficiency of (setf (elt s i) v) needs to be improved. - I'd argue that `elt' should also work on hash tables. Stefan