emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables


From: Stefan Monnier
Subject: Re: [PATCH 0/7] Cleanups and tests for DEFVAR_PER_BUFFER variables
Date: Thu, 01 Apr 2021 17:42:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> To statically avoid checking Qunbound for vars where it's not necessary,
> we need to use separate syntax for accessing BVARs that have defaults
> and BVARs that don't have defaults. Only BVARs that have defaults need a
> Qunbound check.  (We could use the same syntax for both, but it would
> require X macros which Eli disliked earlier)

BTW, we may also want to try and increase the proportion of those vars
which don't have a global default (i.e. look at which variables fall
into this camp and that can be changed without too much trouble).

Regarding benchmarking, you may also want to try `elisp-benchmarks` in
GNU ELPA (I suspect those benchmarks will not be very much influenced
by your patch, tho, so please try the "scroll xdisp.c" first).


        Stefan




reply via email to

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