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: [Emacs-diffs] trunk r117094: avoid function from `cl' Date: Mon, 12 May 2014 21:21:22 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1399944119 11016 80.91.229.3 (13 May 2014 01:21:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2014 01:21:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 13 03:21:51 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 1Wk1Pi-00076r-Lq for ged-emacs-devel@m.gmane.org; Tue, 13 May 2014 03:21:50 +0200 Original-Received: from localhost ([::1]:41011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wk1Pi-00016r-5n for ged-emacs-devel@m.gmane.org; Mon, 12 May 2014 21:21:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wk1PY-00016Y-FE for emacs-devel@gnu.org; Mon, 12 May 2014 21:21:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wk1PQ-0005M2-Vd for emacs-devel@gnu.org; Mon, 12 May 2014 21:21:40 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wk1PJ-0005JH-2g; Mon, 12 May 2014 21:21:25 -0400 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s4D1LMVU028175; Mon, 12 May 2014 21:21:22 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2FD66601E4; Mon, 12 May 2014 21:21:22 -0400 (EDT) In-Reply-To: (Sam Steingold's message of "Mon, 12 May 2014 23:56:25 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4940=0 X-NAI-Spam-Version: 2.3.0.9378 : core <4940> : inlines <859> : streams <1181046> : uri <1755168> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:171819 Archived-At: > + (concat (format "%.2f" (/ delay (car (cddr here)))) (cadr here)))))) FWIW, I find `nth' much more readable. Also IIRC `nth' is pretty damn fast in comparison to mixes of car/cdr, so performance is no reason to avoid it (except maybe for (nth 0 X), tho we could let the byte-compiler optimize it to car for us). Stefan