gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: frozen defstructs


From: Raymond Toy
Subject: [Gcl-devel] Re: frozen defstructs
Date: Fri, 31 Oct 2008 00:39:25 -0400
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

Camm Maguire wrote:
> Greetings!  GCL can optimize predicates for 'frozen' defstructs, which
> can be indicated by calls to (si::freeze-defstruct 'foo) or (setq
> compiler::frozen-defstructs* t).  The default for the latter is nil.
> As the standard states that redefining a defstruct can have undefined
> consequences, I'm wondering whether the default could be t instead.
> 

What happens now when you try to redefine a structure?  If it does
something useful, then I would say don't default
compiler::*frozen-defstructs* to T.  If redefining structures crashes
gcl, then T would be an acceptable default. :-)

Ray





reply via email to

[Prev in Thread] Current Thread [Next in Thread]