Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!agate!bionet!parc!gregor From: gregor@parc.xerox.com (Gregor Kiczales) Newsgroups: comp.lang.clos Subject: Re: PCL-specific questions about precompilation, FIND-METHOD Message-ID: Date: 19 Jun 91 20:32:24 GMT References: Sender: news@parc.xerox.com Distribution: comp Organization: Xerox Palo Alto Research Center Lines: 22 In-Reply-To: tim@cstr.ed.ac.uk's message of 19 Jun 91 16:34:13 GMT In article tim@cstr.ed.ac.uk (Tim Bradshaw) writes: I'm using may day rev 4b PCL on Allegro CL 3.1. I am rather confused about the use or not of the PRECOMPILE-RANDOM-CODE-SEGMENTS stuff. I want to stop or reduce the calling of the compiler the first time methods are dispatched which defaultly goes on and it seems that this is the way to do it. But the documentation is obscure (and I haven't looked at the code in detail). What does it mean by `' -- is this related to the defsys stuff? Does it mean I have to use the PCL defsys? This just needs to be a symbol which will distinguish this particular call to PRECOMPILE... from others. In practice, you can put anything you want there. Like `FOO'. What does it mean by `run your system for a while'? Is it enough to make sure that all or most of the methods have been dispatched? Yes. That is, whatever calls to the compiler that have happened at the time PRECOMPILE.. is compiled are what will be saved.