[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63513: [PATCH] Make persist-defvar work with records and hash tables
From: |
Eli Zaretskii |
Subject: |
bug#63513: [PATCH] Make persist-defvar work with records and hash tables |
Date: |
Fri, 08 Sep 2023 15:46:14 +0300 |
> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: monnier@iro.umontreal.ca, joseph@breatheoutbreathe.in,
> adam@alphapapa.net, phillip.lord@russet.org.uk, 63513-done@debbugs.gnu.org
> Date: Fri, 08 Sep 2023 12:06:06 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> May it be possible to promote `persist-hash-equal' and
> >> `persist-copy-tree' to common subr.el functions?
> >
> > Why do we need them in subr.el, i.e. preloaded? Why cannot these
> > functions be autoloaded instead?
>
> Similar functions - `string-equal-ignore-case' and `copy-tree' - are
> already in subr.el. I do not see why the new functions discussed here
> should be any different.
We make the decision whether a function must be preloaded in a case by
case basis, to avoid making the memory footprint of an Emacs session
larger than it needs to be. So arguments "by similarity" are not
useful in this case; you need to explain why you think these functions
are needed right from the startup. Valid reasons include, among
others:
. function is used by the startup code or during dumping
. function is used by all or many important configurations
immediately after startup
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, (continued)
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Eli Zaretskii, 2023/09/03
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Joseph Turner, 2023/09/03
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Eli Zaretskii, 2023/09/04
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Joseph Turner, 2023/09/04
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Stefan Monnier, 2023/09/04
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Joseph Turner, 2023/09/04
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Stefan Monnier, 2023/09/05
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Eli Zaretskii, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables,
Eli Zaretskii <=
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Stefan Monnier, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Joseph Turner, 2023/09/08
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/09
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Daniel Mendler, 2023/09/09
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Ihor Radchenko, 2023/09/09
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, Daniel Mendler, 2023/09/09
- bug#63513: [PATCH] Make persist-defvar work with records and hash tables, phillip . lord, 2023/09/05