home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!apple!cambridge.apple.com!bill@cambridge.apple.com
- From: bill@cambridge.apple.com (Bill St. Clair)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Re: disable the compiler
- Message-ID: <9208172107.AA07913@cambridge.apple.com>
- Date: 17 Aug 92 22:10:17 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 21
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
- Full-Name: Bill St. Clair
- Original-To: Peter Forster <Forster@informatik.uni-stuttgart.de>
- Original-Cc: info-mcl
-
- >Is it possible to supress the compiler during run-time?
- >Our program generates and funcalls lambda-expressions during run-time. The
- >consequence in MCL is - that after each lambda generation - the
- >compiler is invoked. Calling the compiler wastes a lot of
- >run time and consequently the run-time behavior of our application is
- >not the best.
- >
- >Are there any possibilities in MCL to get a better run-time behavior
- >for such applications?
-
- (setq *compile-definitions* nil)
-
- or
-
- (defun really-eval (expression)
- (let ((*compile-definitions* nil))
- (eval expression)))
-
- The former will make Forms typed in the Listener or evaluated from
- Fred Buffers be evaluated instead of compiled. The latter gives you
- more precise control.
-