Described is a system and method for optimizing event predicate
processing. The method comprises processing a subscription including a
plurality of subscription predicates, sorting the subscription predicates
using a predefined sorting algorithm, processing an event including a
plurality of event predicates and comparing the plurality of event
predicates to the subscription predicates. When each of the subscription
predicates is matched by a corresponding one of the event predicates, the
event is output to a source of the subscription.