[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s
From: |
Eli Zaretskii |
Subject: |
Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s |
Date: |
Sun, 07 Mar 2021 17:22:13 +0200 |
> From: Pip Cet <pipcet@gmail.com>
> Date: Sun, 7 Mar 2021 14:21:51 +0000
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
>
> > > > I don't think I understand how will we know which function says it
> > > > never calls GC.
> > >
> > > By tagging it in the source code?
> >
> > How do you know which functions to tag?
>
> That's the part I wasn't volunteering for :-) We'd have to do that
> manually, but we wouldn't have to do it all at once.
I don't see how we can do that, without some methodical procedure.
> > How do you know in which functions to add DONT_CALL_GC ?
>
> That's not something we can decide automatically, is it?
No, I don't think so.
> But usually there will already be a comment in those functions
> explaining that they must not call GC, right?
No, I think these are rare exceptions rather than the rule.
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, (continued)
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Eli Zaretskii, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Eli Zaretskii, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Eli Zaretskii, 2021/03/06
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Eli Zaretskii, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s,
Eli Zaretskii <=
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Eli Zaretskii, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Stefan Monnier, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Andrea Corallo, 2021/03/07
- Re: master d582356: * src/fns.c (Frandom): Handle bignum `limit`s, Pip Cet, 2021/03/07