This is the fourth update of Rules Optimization SoC Project. Optimization for event sets is finally working (There might be some bugs so currently it's under review). And fago has also committed the patch for optimization (http://drupal.org/node/810770) in Rules 2.x. So this module would work for optimization with latest Rules 2.x. But before using rules_optimization module keep in mind that there should not be any event set on the site before enabling the module otherwise site will break. First remove event sets, enable rules_optimization module and then create event sets again (seems lengthy but this would give optimized performance).
Now what I did last week:
- The major achievement of the week was fully working module with expected results.
- I changed the conversion of ORs into ANDs because there was some logical error in code. Now it's fine.
- Besides these I did code cleanup and commenting to make the code easy to understand.
And tasks for the next weeks, I discussed with my mentor klausi:
- Providing tests for the rules_optimization module.
- To make the module work without removing existing event sets.
- Finding the way to extend optimization approach to rule sets.
Comments
Congrats!
I'm looking forward to trying this out in Rules 2!
//Johan Falk