help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking-at-p slower than looking-at


From: Nicolas Richard
Subject: Re: looking-at-p slower than looking-at
Date: Thu, 26 Nov 2015 14:58:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> Nicolas Richard <nrichard@ulb.ac.be> writes:
>
>> Why is it slower and how much slower is it ? I don't
>> see how it can happen from its implementation
>
> Why wouldn't it be slower? It does more things!

Well, I thought it does less: it doesn't modify match data.

> (defmacro measure-time (&rest body)

side note : you can use benchmark-elapse and others, from benchmark.el

-- 
Nico



reply via email to

[Prev in Thread] Current Thread [Next in Thread]