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

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

bug#46722: test-map-into fails


From: Stefan Monnier
Subject: bug#46722: test-map-into fails
Date: Wed, 05 Jan 2022 13:35:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Also in same function, `method-cache` buys you nothing, so getting rid of
> it along with `with-memoization` and `(require subr-x)` is a not
> insubstantial win.

The benefit of the `cl--generic-dispatchers` cache is probably
negligible in terms of performance, indeed.  Its main purpose is to try
and avoid loading the byte-compiler (e.g. most crucially, it saves us
from *pre*loading the byte-compiler).

The benefit of the `method-cache` OTOH should be very significant since
without it we'd have to recompute the effective method at every call.
This said, I have not measured it.


        Stefan






reply via email to

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