[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A faster derived-mode-p
From: |
Lars Ingebrigtsen |
Subject: |
Re: A faster derived-mode-p |
Date: |
Mon, 15 Feb 2021 03:47:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> Oh, you're right, thanks. Still, that gives an estimate of how many
> times the function will be called in an average session.
>
> And
>
> (benchmark 10000 '(derived-mode-p 'prog-mode))
>
> prints ~0.01s here (unless caught in a GC).
Oh, thanks. Then I guess my worries about the speed of that bit, at
least, were premature.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no