GNU bug report logs - #76533
[PATCH] Make cl-proclaim and cl-declaim obsolete

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Mon, 24 Feb 2025 21:27:02 UTC

Severity: wishlist

Tags: patch

Full log


Message #11 received at 76533 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 76533 <at> debbugs.gnu.org, mattias.engdegard <at> gmail.com
Subject: Re: [PATCH] Make cl-proclaim and cl-declaim obsolete
Date: Tue, 25 Feb 2025 22:49:51 +0000
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> However, simply removing these CL-Lib specific variables makes the
>> compiled file size of eieieo-core.el (our only user of cl-declaim)
>> increase by almost 20%:
>>
>> -rw-r--r--  1 skangas  staff  40705 Feb 24 21:31 eieio-core.elc
>> -rw-r--r--  1 skangas  staff  45572 Feb 24 21:31 lisp/emacs-lisp/eieio-core.elc
>
> It also makes it slower, yes.
> The patch below removes this use of `cl-declaim` without the
> corresponding performance impact.

Thanks, LGTM.  Should the new keyword argument be documented?




This bug report was last modified 113 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.