Re: Question: Lisp CGI that loads big hash only once

[email protected] Thu, 20 Apr 2006 14:07:45 +0200
Newsgroups gmane.lisp.web
Message-ID <[email protected]>
Hallo
 > Is your dictionary data static or will it be changed during runtime?
 > Following your description, I suppose it is static. Why not make it part
 > of your dumped Lisp image for the CGIs (you _are_ running from a dumped
 > image instead of starting clisp and the loading fasls, right?)?

Thanks a lot Alex, this is what I did (for people reading the list later):

started lisp, loaded the files and then:
(saveinitmem "/home/you/yourLispDir/lispImage.mem")
# Afterwards if you want to use it in a bash, cgi script, load it like this:
clisp -M lispImage.mem

Thanks again

Richard

PS: my next question comes right away ;)