From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Charles Curley Newsgroups: gmane.emacs.help Subject: Re: How to count the number of occurrences of a character in a string? Date: Tue, 13 Oct 2015 14:59:20 -0600 Message-ID: <20151013145920.1d04c8e7@jhegaala.localdomain> References: <874mhvq3b2.fsf@mbork.pl> <8337xezpdc.fsf@gnu.org> <87k2qqcxex.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1444776835 15303 80.91.229.3 (13 Oct 2015 22:53:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 22:53:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 00:53:43 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Zm8Ru-0006rx-8P for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 00:53:38 +0200 Original-Received: from localhost ([::1]:39703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm8Rt-0001kJ-4q for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Oct 2015 18:53:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm6fW-0000zz-V0 for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 16:59:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm6fR-0002uR-Vk for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 16:59:34 -0400 Original-Received: from mail.endcrypt.com ([50.97.100.2]:60989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm6fR-0002tI-S9 for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 16:59:29 -0400 Original-Received: from jhegaala.localdomain (72-36-26-7.actaccess.net [72.36.26.7]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.endcrypt.com (Postfix) with ESMTPSA id D823F86CCC for ; Tue, 13 Oct 2015 20:59:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.endcrypt.com D823F86CCC In-Reply-To: <87k2qqcxex.fsf@web.de> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 50.97.100.2 X-Mailman-Approved-At: Tue, 13 Oct 2015 18:52:00 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107629 Archived-At: On Tue, 13 Oct 2015 22:43:02 +0200 Michael Heerdegen wrote: > Kaushal Modi writes: > > > 100000 executions of cdr approach: > > Elapsed time: -0.000378s > > A great discovery! If we loop that code in the background, it will > massively speed up Emacs. Then they can use Emacs to time neutrinos. -- The right of the people to be secure in their persons, houses, papers, and effects, against unreasonable searches and seizures, shall not be violated, and no Warrants shall issue, but upon probable cause, supported by Oath or affirmation, and particularly describing the place to be searched, and the persons or things to be seized. -- U.S. Const. Amendment IV Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB