[Lispweb] Question: Lisp CGI that loads big hash only once
rso at gmx.at
rso at gmx.at
Thu Apr 20 07:07:45 CDT 2006
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 ;)
More information about the lispweb
mailing list