diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2020-08-27 17:17:19 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2020-08-28 08:20:28 -0700 |
commit | 4d741e577fbab8adf444c6c1930525bb7e8fc08d (patch) | |
tree | e526dc264c9a510b7cbfbfe394e23144a506fa92 /lisp/emacs-lisp/autoload.el | |
parent | 649a52822f207e1d302f0e089010b84d5e882281 (diff) | |
download | emacs-4d741e577fbab8adf444c6c1930525bb7e8fc08d.tar.gz emacs-4d741e577fbab8adf444c6c1930525bb7e8fc08d.tar.bz2 emacs-4d741e577fbab8adf444c6c1930525bb7e8fc08d.zip |
Remove redundant slot validation in eieio-persistent-read
Actual object creation (in `make-instance') will later run all slot
values through cl-typep, which does a better job of validation. This
validation is redundant, and slows the read process down.
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-fix-value): Rename
from `eieio-persistent-validate/fix-slot-value', as we no longer
validate, and we don't care about the slot definition.
(eieio-persistent-slot-type-is-class-p): Delete function.
(eieio-persistent-convert-list-to-object): Still call
`eieio--full-class-object', to trigger an autoload if necessary, but
discard the return value.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
0 files changed, 0 insertions, 0 deletions