how to do 3rd party optimizations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@159 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
e1d02bcd4c
commit
824379cf4c
@ -19,7 +19,16 @@
|
||||
|
||||
'''This module contains functions to perform various optimizations on the expression trees.
|
||||
The list general_optimizations contains pointers to general functions, so they can be called
|
||||
within a cycle.'''
|
||||
within a cycle.
|
||||
|
||||
It is possible to add new general optimizations by adding the function in the list
|
||||
general_optimizations present in this module. And the optimization will be executed with the
|
||||
other ones when optimizing.
|
||||
|
||||
A function will have one parameter, which is the root node of the tree describing the expression.
|
||||
The class used is defined in optimizer module.
|
||||
A function will have to return the number of changes performed on the tree.
|
||||
'''
|
||||
|
||||
import optimizer
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user