Re: [spr29787] Closure ... will be stack allocated

"Charles A. Cox" <[email protected]> Fri, 14 Jan 2005 12:00:10 -0800
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
> >   I believe the reason the note is being displayed is for those
> > programmers explicitly trying to achieve stack-consed closures.
> > Without this message, it's not immediately obvious whether the
> > compiler actually performed the desired optimization.
> 
> Hmm, I'm pretty sure I didn't explicitely ask for that in my code...

  You might be confusing these messages with those which occur when
you add (declare (:explain ..)) statements to code.  It turns out that
the stack-allocating closure messages are simply displayed when
*compile-print* (c.f., compile-file :print argument) is true, which it
is by default.

	Charley
---
Charles A. Cox, Franz Inc.        555 12th Street, Suite 1450
Internet: [email protected]           Oakland, CA  94607
WWW: http://www.franz.com/        Phone: (510) 452-2000; FAX: (510) 452-0182