We were using prolog to implement the inference support for our
applications. Now we are looking at switching to drools because we cannot
bare the overhead of translating between java and prolog the representation
of every data element that we pass to prolog. For example, integer numbers
in java are represented differently than in prolog and their representation
needed to be translated back and forth across the java / prolog interface.
 
Drools seems to handle java objects in its primitive representation (good!).
However, we don't know how objects are represented in WorkingMemory. 
 
Question:
-------------
 
Is the WorkingMemory keeping its own parallel COPY of the asserted objects
or it is only keeping REFERENCES to the actual objects? If the WM is copying
(or creating its own representation) of the asserted objects then the drools
alternative might not be as attractive as we thought.
 
Thanks,
 
Marcelo
 
 

Reply via email to