[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/10] Access buffer_defaults in BVAR if there's no local bin
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH 09/10] Access buffer_defaults in BVAR if there's no local binding |
Date: |
Thu, 19 Nov 2020 20:21:27 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Thu, 19 Nov 2020 13:08:16 -0500
> Cc: Arnold Noronha <arnold@tdrhq.com>, Dmitry Gutov <dgutov@yandex.ru>,
> emacs-devel@gnu.org
>
> Your patch series will also presumably slow down BVAR access to the
> other fields since they need to test `SHOULD_USE_BUFFER_DEFAULTS` now,
> but I think this is the price to pay. It should be negligible for
> accesses to those vars from Elisp code, but of the 600 or so uses of
> BVAR in the current code, I wonder if some of them could show
> a measurable speed penalty.
There are 85 uses of BVAR in xdisp.c, something to look into, I guess.
- Re: ido-switch-buffer is slow with many buffers; others are fast, (continued)
- Re: ido-switch-buffer is slow with many buffers; others are fast, Arnold Noronha, 2020/11/15
- [PATCH 02/10] Add bset_save_length and use it, Spencer Baugh, 2020/11/19
- [PATCH 04/10] Use bset_enable_multibyte_characters everywhere, Spencer Baugh, 2020/11/19
- [PATCH 00/10] Speeding up DEFVAR_PER_BUFFER (Was: ido-switch-buffer is slow), Spencer Baugh, 2020/11/19
- Re: [PATCH 00/10] Speeding up DEFVAR_PER_BUFFER, Stefan Monnier, 2020/11/19
- [PATCH 03/10] Use bset_last_selected_window everywhere, Spencer Baugh, 2020/11/19
- [PATCH 01/10] Take buffer field name in DEFVAR_PER_BUFFER, Spencer Baugh, 2020/11/19
- [PATCH 06/10] Disallow using BVAR as an lvalue, Spencer Baugh, 2020/11/19
- [PATCH 09/10] Access buffer_defaults in BVAR if there's no local binding, Spencer Baugh, 2020/11/19
- Re: [PATCH 09/10] Access buffer_defaults in BVAR if there's no local binding, Stefan Monnier, 2020/11/19
- Re: [PATCH 09/10] Access buffer_defaults in BVAR if there's no local binding,
Eli Zaretskii <=
- [PATCH 05/10] Add BVAR_DEFAULT for access to buffer defaults, Spencer Baugh, 2020/11/19
- [PATCH 08/10] Make cache_long_scans buffer-local when setting it, Spencer Baugh, 2020/11/19
- [PATCH 07/10] Reorder buffer.h for upcoming rework of BVAR, Spencer Baugh, 2020/11/19
- [PATCH 10/10] Don't iterate over all buffers in set_default_internal, Spencer Baugh, 2020/11/19
- Re: [PATCH 10/10] Don't iterate over all buffers in set_default_internal, Stefan Monnier, 2020/11/19