From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.help Subject: Re: Compile regular expression Date: Mon, 21 Dec 2009 12:14:05 +0100 Message-ID: References: <87pr68bott.fsf@Traian.DecebalComp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261395793 15430 80.91.229.12 (21 Dec 2009 11:43:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2009 11:43:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 21 12:43:06 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NMgfI-0000iC-UC for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Dec 2009 12:43:05 +0100 Original-Received: from localhost ([127.0.0.1]:58320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMgfJ-0004DU-0H for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Dec 2009 06:43:05 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.kpnqwest.it!news.kpnqwest.it.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 21 Dec 2009 05:14:05 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:ZYrdCdZXGhK23sAPETKYt/1szGA= Original-Lines: 12 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 212.46.188.110 Original-X-Trace: sv3-UH3mFxRvqeTvriAAeNXqoZ/f4zFxP0zIoGTjEbonS+4d8N4wQXLk/zCg+RKLEOGpIlrFuUjfQyRGKO5!goxFkpQBly3GY/LnlAWVH/4Fm/42KHtb5Q8Hb4wqpU/x5/bwQhdgELEeJuRnFr0= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:175696 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70773 Archived-At: * Cecil Westerhof [2009-12-21 11:31+0100] writes: > I am working with CL at the moment. When you compile a regular > expression in CL, the program is about 4 times as fast. This program is > a translation of something I first wrote in elisp. So I was wondering if > I could get the same advantage in my elisp code. But I could find > nothing to compile a regular expression. Is this true, or am I not > looking correctly? Emacs uses a cache for compiled regexps internally but it's not exposed. Helmut