Hi,
I'm a new lisper and I have been working with John Koza's simple
'genetic programming' program. In this code there are a number of
implimentations written called a FAST-EVAL which is less general than
the EVAL function but does not cause the excessive consing and accompanying
GC as the standard EVAL function. He gives example of the FAST-EVAL for
various commercial LISP.
Does anyone know of a FAST-
FAST-EVAL for GCL?
Ray
--
-----------------------------------------------------------------------------
Ray Hann |
NASA Lewis Research Center |
Cleveland, Ohio 44135 | email: ······@hyperthink.lerc.nasa.gov
-----------------------------------------------------------------------------
Deep Magic in Scheme
==>(set! x (eval '(define (set! a b) (sows_ear->silk_purse C++-program))))
-----------------------------------------------------------------------------
Ray Hann (······@hyperthink.lerc.nasa.gov) wrote:
: Hi,
: I'm a new lisper and I have been working with John Koza's simple
: 'genetic programming' program. In this code there are a number of
: implimentations written called a FAST-EVAL which is less general than
: the EVAL function but does not cause the excessive consing and accompanying
: GC as the standard EVAL function. He gives example of the FAST-EVAL for
: various commercial LISP.
: Does anyone know of a FAST-
: FAST-EVAL for GCL?
The implementation given in the book should work.
mike
In article <··········@sulawesi.lerc.nasa.gov> ······@hyperthink.lerc.nasa.gov (Ray Hann) writes:
Hi,
I'm a new lisper and I have been working with John Koza's simple
'genetic programming' program. In this code there are a number of
implimentations written called a FAST-EVAL which is less general than
the EVAL function but does not cause the excessive consing and accompanying
GC as the standard EVAL function. He gives example of the FAST-EVAL for
various commercial LISP.
Does anyone know of a FAST-
FAST-EVAL for GCL?
You can ftp a fast version of koza's genetic programming code from
wheaton.bbn.com pub/faster94/faster94/courage koza3.lisp. This version is
30 times faster than the original code for the REGRESSION example, and
about twice as fast as comparable C code. There is a companion paper in
wheaton.bbn.com pub/faster94/faster94/postcript profile.ps.
--
Ken Anderson
Internet: ·········@bbn.com
BBN ST Work Phone: 617-873-3160
10 Moulton St. Home Phone: 617-643-0157
Mail Stop 6/4a FAX: 617-873-2794
Cambridge MA 02138
USA