Thank you for your quick reply.
For loading the Jess constructs, is it faster to create all rules and facts during
runtime (using addDefrule and assertFact) or parsing a batch file where all rules and
facts have been written into beforehand?
In my case, all rules and facts are generated during runtime, so entering them
directly into Rete object (using addDefrule and assertFact) would be quite easy. The
other option would be to write them into a batch file and then parsing it into Jess.
>> What would be the fastest way to load the Jess constructs (rules and facts) ? Is it
>> better to write them to >a text file and then use executeCommand("(batch
>> thefile.clp)") ? Or is there a faster way (in terms of
>runtime performance)?
> The two choices are using a batch file, or dumping them using the
> (bsave) function and loading at runtime using (bload). These functions
> use Java serialization, and last time I checked, this was generally
> slower than parsing the constructs as text.
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------