emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct byte compiler error/warning positions. The solution!


From: Andrea Corallo
Subject: Re: Correct byte compiler error/warning positions. The solution!
Date: Sat, 04 Dec 2021 19:55:28 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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.

  Andrea



reply via email to

[Prev in Thread] Current Thread [Next in Thread]