Re: [dev] st: Large pile of code

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Thu, 25 Apr 2013 12:57:02 +0200

On Thu, Apr 25, 2013 at 12:38:02PM +0200, markus schnalke wrote:
> [2013-04-24 17:14] random832_AT_fastmail.us
> >
> > A) Why do min and max need to be macros at all?
>
> That's the point, IMO. All the problems are introduced by performance
> optimizations that might not even necessary. If you write it as a
> function you simply don't need to care for double-evaluation. It will
> just work as expected ... and in many cases the compiler will do the
> optimization for you. Show me the case that really needs a macro!


When you want pass it any type of data? (of course, without using typeof)
Received on Thu Apr 25 2013 - 12:57:02 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 25 2013 - 13:00:13 CEST