But this macro only expands to this function call, it does not do
computation at compile time.

On Tue, Mar 9, 2021, 12:20 AM Waldek Hebisch <[email protected]>
wrote:

> On Mon, Mar 08, 2021 at 11:00:22PM +0800, Qian Yun wrote:
> > This patch tested OK, and I only have one small question:
> >
> > Why define the macro 'mk_DF' instead of using 'make_DF' function?
>
> Macro will always run at compile time, even in dumb compiler.
> Function may be delayed to runtime, at least partially defeating
> optimization.
>
> --
>                               Waldek Hebisch
>
> --
> You received this message because you are subscribed to the Google Groups
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/20210308162033.GA1217%40math.uni.wroc.pl
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAGBJN93QTce_DYJW-Hz8zhakS887cZ7qwdq6R7maT2%2B2b9Qw8Q%40mail.gmail.com.

Reply via email to