Magic Factoring of Closure Programs

  title={Magic Factoring of Closure Programs},
  author={Peter T. Wood},
The factoring transformation, which reduces the number of arguments in all IDB predicates in the presence of queries containing constants, is a powerful optimization technique for Datalog programs and can result in an order of magnitude improvement in the efficiency of query evaluation. Unfortunately, the class of programs which has been shown to admit the… CONTINUE READING