[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: saving, restoring prolog state in binary form
From: |
Mayuresh |
Subject: |
Re: saving, restoring prolog state in binary form |
Date: |
10 Jun 2004 15:30:51 +0530 |
> 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.