Hi Folks,

I got in some Jess hacking time today, and so I have some odds and
ends to report - mostly good stuff.

- Serialization is still very slow, and I'm not at all sure how to do
anything about it. If anybody has any special knowledge in this area,
by all means, let me know.

- I made some fairly minor modifications that resulted in a very
significant speedup in file parsing: loading in a file of rules should
now be almost twice as fast (!)

- (Rather techincal) I modified the way ordered facts are represented
internally. They used to be stored such that each entry in the fact
was equivalent to a slot in an unordered fact. This resulted in lots
of special-case handling, since some facts had deftemplates with slot
names, and some didn't. I realized that another possible
representation was that an ordered fact was like an unordered fact
with only one multislot. Changing the representation was easy, and it
resulted in a reduction of about 500 lines of code, including several
entire classes (specialized Rete network nodes.) It also made all
facts a hair smaller, since they no longer have the DESC entry to
specify their orderedness. Smaller is good, and for large memory bound
systems, it translates into faster as well. I modified the various
output fucntions to understand all this, so facts print out just as
before. 

Anyway - this last thing is good, but it will mean havoc for anybody's
Java code that has messed with the underlying representation of facts,
especially if they're not using the symbolic constants in RU for
indexes.

I guess I won't send out 5.0a1 till after Thanksgiving (Nov.  26th),
but I thought I'd keep you posted.


---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9214                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to