David Morse <dcmorse@...> writes:
> My program is being brought to its knees by the (incredibly slow)
> printing of these compiler warnings at runtime. I'm not sure why the
> compiler is running at runtime, I certainly am not calling it
> directly. I would like help, any stupid hack, to go to the debugger
> and/or give some sort of contextual clue what source code I've written
> is responsible.
Make sure that all alien types are fully declared at compile-time. If
you see any compile-time optimization notes from the compiler relating
to SAPs or ALIENs, fix those first.
(It's not the printing that's the problem, it's because the general
access method for certain type-unknown-at-compile-time alien objects
is to generate code at runtime, which invokes the compiler. This is
not optimal by any means.)