[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: looking-at-p slower than looking-at
From: |
Marcin Borkowski |
Subject: |
Re: looking-at-p slower than looking-at |
Date: |
Wed, 25 Nov 2015 22:32:22 +0100 |
User-agent: |
mu4e 0.9.13; emacs 25.0.50.1 |
On 2015-11-25, at 22:28, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> (setq foo "foo")
>> (benchmark 10000000 (looking-at foo))
>> (benchmark 10000000 (looking-at-p foo))
>
> Don't forget to quote the FORM argument - `benchmark' is a function.
Oops. Thanks for the correction!
> Michael.
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
Re: How to test if the current line contains only white-spache?, Rolf Ade, 2015/11/16
Message not availableRe: How to test if the current line contains only white-spache?, Rolf Ade, 2015/11/18
Re: How to test if the current line contains only white-spache?, Stefan Monnier, 2015/11/18