[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct byte compiler error/warning positions. The solution!
From: |
Eli Zaretskii |
Subject: |
Re: Correct byte compiler error/warning positions. The solution! |
Date: |
Sat, 04 Dec 2021 21:58:06 +0200 |
> From: Andrea Corallo <akrl@sdf.org>
> Cc: acm@muc.de, emacs-devel@gnu.org
> Date: Sat, 04 Dec 2021 19:55:28 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Andrea Corallo <akrl@sdf.org>
> >> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> >> Date: Sat, 04 Dec 2021 19:22:02 +0000
> >>
> >> I think it could be a good idea but I believe there's no need to use
> >> macros here, we could have just functions return rvalues no?
> >>
> >> I'm not a big fan of C macros and I try not to use them whem possible.
> >
> > Macros punish unoptimized builds less severely than functions.
>
> Yep, but in this case I'm sure the perf delta is not measurable
> therefore IMO functions should be preferred.
I was responding to a much more general dislike of macros that you
expressed above, and wanted to explain why we do use macros in Emacs.
- Re: Correct byte compiler error/warning positions. The solution!, (continued)
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/01
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/01
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/12/01
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/02
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/02
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/02
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/03
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/04
- Re: Correct byte compiler error/warning positions. The solution!, Eli Zaretskii, 2021/12/04
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/04
- Re: Correct byte compiler error/warning positions. The solution!,
Eli Zaretskii <=
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/04
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/14
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/15
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/17
- Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/20
- Re: Correct byte compiler error/warning positions. The solution!, Alan Mackenzie, 2021/12/21
Re: Correct byte compiler error/warning positions. The solution!, Andrea Corallo, 2021/12/01