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

Issue DEFINE-OPTIMIZER



I think you may have gotten the sense of Cris' INLINE comment wrong.  I
believe what he was suggesting is that NOTINLINE declarations should inhibit
optimizers, a position I agree with.  I also think it would be better to
specify the behavior when both an optimizer and an inline are present, rather
than leaving it 'unspecified but harmless'.  I'd suggest that optimizers have
precedence.  The rational is that this allows an optimizer to look for
special patterns in the arguments, and to defer to the inline if it doesn't
find them.  Of course, there's the problem that the compiler might then ignore
the inline.

I agree with you that OPTIMIZER-FUNCTION is a bad idea.  I think the main
problem is that it spells trouble for implementations which want to support
multiple optimizers for the same function.

kab
-------