[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: cmpinit.lsp
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: cmpinit.lsp |
Date: |
19 Feb 2004 09:46:02 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
1) Can you send me your file? Pretty hard to help with so little
information.
2) Speed differences of this magnitude are almost always due to
garbage collection. (setq si::*notify-gbc* t) to find out. Also
look at (si::gbc-time) and its info page. If so, make sure you
declare the types of your variables where possible.
3) gcl-2.6.1 and above comes with a profiling option. Compile with
--enable-gprof, then bracket your code with (si::gprof-start) and
(si::gprof-quit).
4) I don't know what your lisp is, but I'm reasonably confident that
your performance issues are far more basic than those related to
fine tuning compiler switches.
Eric <address@hidden> writes:
> --- Camm Maguire <address@hidden> wrote:
> > Typically you'd have you own directory for your own
> > source, and you'd
> > put a cmpinit.lsp in there.
>
> Hi Camm,
>
> Okay, then how do I do this manually then?
>
> I tried to cut and paste sys-proclaim.lisp so that it
> is appended to the beginning of my lisp source file.
>
> I didn't get any errors. I didn't get any speed-up
> either.
>
> I also don't get any speed-up by using gcl-2.6.1.
>
> This is really starting to piss me off. GCL runs many
> times slower than my Lisp.
>
> Should I mess with the compiler optimizations stuff? I
> usually leave it at safety=0, speed=3. From what I've
> read this should do the trick, so I'm stuck.
>
> Hatin' life,
>
> --Eric
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah