[Haskell] Re: [Haskell-cafe] Haskell versus Lisp

Tomasz Zielonka tomasz.zielonka at gmail.com
Fri Sep 16 17:47:56 EDT 2005


On Fri, Sep 16, 2005 at 02:37:14PM -0700, Michael Vanier wrote:
> But were they as efficient?

If some code is equivalent to macro expansion then the compiler should
be able to optimize it to the same extent as a macro.

> The beauty of macros is that a lot of things can be done with no
> run-time overhead at all.

Macros can lead to bigger generated code size, which can affect
performance.

Best regards
Tomasz


More information about the Haskell mailing list