> Bob Koutsky <[EMAIL PROTECTED]> writes:
 > 
 > > Hello,
 > > 
 > > I am rather new to lisp, I'm still learning the basics

(snip)

Edi Weitz writes:
 > 
 > You might want to place something like
 > 
 >   (eval-when (:compile-toplevel :execute :load-toplevel)
 >     (proclaim '(optimize (speed 3)
 >                          (safety 0)
 >                          (space 0)
 >                          (debug 0)
 >                          (compilation-speed 0))))
 > 
 > at the top of your file (after you've debugged your code). If you do
 > that CMUCL will help you with lots of hints about why it can't
 > optimize certain forms and what you can do to help it.

IMO this is terrible advice for a newbie.  *Never* turn safety down
below 1 unless you know what you're doing, and then only in local
declarations, never at the toplevel.  With safety=0 you *will* get
incorrect behavior if you screw up, and presumably if you wanted that,
you'd be using a language like C.

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'                               

Reply via email to