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: cl position performances Date: Wed, 24 Feb 2010 13:24:22 -0500 Message-ID: References: <871vgc1eqn.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267040155 3109 80.91.229.12 (24 Feb 2010 19:35:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 19:35:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 20:35:45 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NkN1M-0003SV-K9 for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 20:35:44 +0100 Original-Received: from localhost ([127.0.0.1]:57397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkN1M-00056B-0V for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 14:35:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkLuM-0001CL-2i for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:24:26 -0500 Original-Received: from [140.186.70.92] (port=34409 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkLuL-0001Bv-9e for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:24:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkLuK-0006ON-B3 for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:24:25 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:34243 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkLuK-0006OJ-93 for emacs-devel@gnu.org; Wed, 24 Feb 2010 13:24:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEABf9hEtFpZOk/2dsb2JhbACbD3S8ZYRyBIMWHYdS X-IronPort-AV: E=Sophos;i="4.49,533,1262581200"; d="scan'208";a="56680597" Original-Received: from 69-165-147-164.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.164]) by ironport2-out.pppoe.ca with ESMTP; 24 Feb 2010 13:24:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6269A81B0; Wed, 24 Feb 2010 13:24:22 -0500 (EST) In-Reply-To: <871vgc1eqn.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Tue, 23 Feb 2010 10:30:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:121342 Archived-At: > I wrote a very simple definition of `position' for use in > traverselisp.el,(to avoid warnings) and i noticed that this is faster > than the usual cl `position'. > That can be interesting for very large list. Do you happen to know or have some idea of where the speed difference comes from? > Try to get documentation of this same `position' function with C-h S. Very good point, please post this to bug-gnu-emacs. Stefan