Rules Optimization:Update-6

Events happening in the community are now at Drupal community events on www.drupal.org.
Saubhagya's picture

Here is the sixth update of Rules Optimization SoC Project. In the previous week I didn't start with rule sets as I mentioned in last update. Instead of this klausi and me agreed upon optimizing tree structure further.

Tasks done:

  • As the optimized rules are entered in AND format in decision tree and if two conditions in a converted rule are of same type (e.g. node type is page, node type is article) then this type of rule would be FALSE in every situation. So I removed these type of rules.
  • If conditions of above example are in different rules, then second should be in false side of first one only. I implemented this to optimize tree further. Issue is at http://drupal.org/node/859554
  • I also added simpletest for same type of conditions also.

Future tasks:

  • Rule sets optimization will be next task. Besides this I'll discuss with klausi today about future tasks in detail.

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: