GNU bug report logs - #75521
scratch/igc: Delete unused macro DEFVAR_LISP_NOPROX

Previous Next

Package: emacs;

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

Date: Sun, 12 Jan 2025 17:56:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 75521 <at> debbugs.gnu.org, pipcet <at> protonmail.com
Subject: Re: bug#75521: scratch/igc: Delete unused macro DEFVAR_LISP_NOPROX
Date: Mon, 13 Jan 2025 22:11:00 +0200
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Mon, 13 Jan 2025 20:01:24 +0000
> Cc: pipcet <at> protonmail.com, 75521 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> I'm curious why this was considered worth optimizing in the first place.
> >
> > What is the optimization here? DEFVAR_LISP_NOPRO or font_style_table?
> 
> I was thinking of DEFVAR_LISP_NOPRO:

AFAIU, it's there to avoid protecting something that is already
protected.  staticvec[] is a static vector, so wasting slots there is
best avoided.




This bug report was last modified 122 days ago.

Previous Next


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