From: moj@alfard.utu.fi (Matti Jokinen)
To: caml-list@inria.fr
Subject: Preinitialized executables?
Date: Sat, 13 Sep 1997 02:57:41 +0300 (EET DST) [thread overview]
Message-ID: <9709122357.AA05419@alfard.utu.fi> (raw)
I have a program that needs to be initialied by building a large and
fairly complicated data structure. In Ocaml the fastest method I
have found is to save the data structure in a file with output_value
and then load it into the program with input_value, but even this way
the overhead is considerable. SML/NJ has a function named exportFn,
which saves the program together with its state into an executable file:
when the program is run from the file, control is transferred to a
function given as a parameter to exportFn. I wonder if something
similar is possible in Ocaml.
- Matti Jokinen
next reply other threads:[~1997-09-15 6:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-12 23:57 Matti Jokinen [this message]
1997-09-18 8:41 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9709122357.AA05419@alfard.utu.fi \
--to=moj@alfard.utu.fi \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox