Re: saving, restoring prolog state in binary form

Mayuresh <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <1086861651.1921.50.camel@TCS023077>
> Avoid using consult in GNU Prolog; compile (externally) with gplc:
> you're likely to see very significant performance gains.

Salvador,
Thanks for your response.
Just a small extension to my question in this context.

When we use listing, we are converting the predicates from their "in
memory representation" into a text form. We then compile these text form
predicates and load them back into the same "in memory representation"
next time. (Please correct me if I am missing something.)

If there were a way to dump and restore this "in memory state" itself,
may be the amount of i/o as well as compilation time could be saved (?).
My application has a few tens of thousands of predicates. So these
timings become significant.

TIA
Mayuresh.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.