GNU bug report logs - #42998
27.1; gnutls-symmetric-encrypt slow when providing cipher as symbol

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <mail <at> vasilij.de>

Date: Sun, 23 Aug 2020 16:44:02 UTC

Severity: normal

Tags: fixed

Found in version 27.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mail <at> vasilij.de, 42998 <at> debbugs.gnu.org
Subject: Re: bug#42998: 27.1; gnutls-symmetric-encrypt slow when providing
 cipher as symbol
Date: Mon, 24 Aug 2020 16:22:33 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Such initializations shall be done in the syms_of_* functions, in this
> case syms_of_gnutls -- those run at build time, and are recorded in
> the dumped memory.  yes, that means the static variable will not be
> private to the function, but I don't think it's a problem.

OK, I'll do that instead.

> I think it'd also allow you to staticpro the variable only once.

Don't we need to staticpro the variable only once in any case, or am I
misunderstanding how staticpro works?  I assumed that it took the
address of the variable, and then it'll protect whatever that variable
points to, no matter whether we change the value or not?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 313 days ago.

Previous Next


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