Christophe Rhodes wrote:
> David Morse <dm@...> writes:
>
>
>>I'm starting to think the compiler's a little TOO worried about
>>runtime allocation of alien-value structures. Nobody wants a compiler
>>warning for every time a call to "list" forces a cons cell to be
>>allocated ... thus nobody wants this warning either:
>
>
> Maybe. On the other hand, I suspect that heap allocation of aliens is
> orders of magnitude more expensive than heap allocation of lists --
> particularly since in the general case stack allocation of aliens is
> possible, which is not true for allocation of lists.
>
> At least this way round, when people complain about several missing
> orders of magnitude of alien performance, we can point to the compiler
> notes that have resulted from their compilation. :-)
Let us agree to disagree.
Note: I'd feel a lot better about the warning message if it were 1-2
lines, instead of an entire screenful. As it is, it makes it hard to
find other, more important warnings, because it prints 30 lines of
funkily indented jargon.
|