Hi Folks,

Well, I keep telling myself I'll send out 4.1b4 after I do "just one
more thing".. and then I think of another thing to do. I've done an
awful lot of streamlining for this release: despite all the new
features, the *.class files in the jess package are altogether about
10% smaller than in the previous release.

Anyway. One of the things I've been toying with is letting the user
write rule LHSs in Java for performance: I was thinking that maybe in
the future Jess could use this capability itself to auto-generate Java
versions of rule LHSs. Anyway, I added the capability, and I wrote
five of the CEs on the LHS of the find-solution rule in the
wordgame.clp problem over in Java. When I ran the resulting problem, I
absolutely couldn't believe my eyes: Jess ran the problem 24 times in
3 seconds under jview (MS SDK 2.0, 266 MHx Pentium-II). CLIPS takes 5
seconds on the same machine to run the original problem! Without the
Java LHS tests, Jess takes 11 seconds under jview, or about twice as
long as CLIPS. With TowerJ and the Java LHSs, Jess takes two seconds.

I'm -really- excited about this: despite Sun's claims to the contrary,
I've never seen direct evidence that even well-optimized Java with JIT
could compete with C/C++ in performance. CLIPS is a very highly
optimized piece of software, which makes this particularly surprising
and impressive. 

So I suppose I'll send out 4.1b4 tomorrow, and get to work on the
auto-generator for 4.1b5. I think this will be an undocumented feature
in 4.1b4, although I'll include the fast wordgame example.

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (510) 294-2154
Sandia National Labs                FAX:   (510) 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