From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news2.kpn.net!news.kpn.net!nslave.kpnqwest.net!nloc.kpnqwest.net!nmaster.kpnqwest.net!nreader3.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Beginner question: performance problems with a simple program References: Mail-Copies-To: never From: Erik Naggum Message-ID: <3218471295676491@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Dec 2001 19:48:17 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader3.kpnqwest.net 1009482497 193.71.66.49 (Thu, 27 Dec 2001 20:48:17 MET) NNTP-Posting-Date: Thu, 27 Dec 2001 20:48:17 MET Xref: archiver1.google.com comp.lang.lisp:23179 * Janosch Zwerensky | The program works fine, except for the fact that I am not feeling well | about its performance speed-wise. Does anyone on this group have any | tips to offer regarding improvements in this respect? (I am working with | Allegro Common Lisp). Evaluate (excl::explain-compiler-settings) and turn on the various :explain options. The amount of output even exceeds CMUCL at its worst, but it can be very helpful in realizing when and how to declare stuff. What were the types of variables in the C version? How much time does a function call usually take? Do you have an example? /// -- The past is not more important than the future, despite what your culture has taught you. Your future observations, conclusions, and beliefs are more important to you than those in your past ever will be. The world is changing so fast the balance between the past and the future has shifted.