Greg, I'm not following how this is related to my question. Probably I was
unclear.
Suppose I have 1000 event types/classes, but rules that use only 50 types in
LHS patterns. I will be receiving events of random types at say 100hz. The
question is whether I should just insert the events regardless of whether
any rule actually uses the instances' event type (because the rete-oo will
filter out the unused types very quickly) or whether I should add a filter
before sesssion.insert(..) to let only those types of events that are
actually used by a rule.
My second problem/question then becomes: How to determine which
types/classes are actually used in LHS patterns for a given package? By this
I mean, how can I write code to make this determination.
--
View this message in context: http://old.nabble.com/Does-Session-effeciently-filter-unused-facts%2C-or...-tp26489782p26505340.html
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users