Disable all optimizations for now
They are in need of a refactor
This commit is contained in:
parent
b508149583
commit
a8426840da
@ -1,3 +1,6 @@
|
|||||||
|
3.0
|
||||||
|
- Refactored parser to use better typing
|
||||||
|
|
||||||
2.6
|
2.6
|
||||||
- Improved survey sending
|
- Improved survey sending
|
||||||
- Prevent relation/field names from being reserved keywords
|
- Prevent relation/field names from being reserved keywords
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Relational
|
# Relational
|
||||||
# Copyright (C) 2009-2018 Salvo "LtWorf" Tomaselli
|
# Copyright (C) 2009-2020 Salvo "LtWorf" Tomaselli
|
||||||
#
|
#
|
||||||
# Relational is free software: you can redistribute it and/or modify
|
# Relational is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -709,22 +709,22 @@ def useless_projection(n, rels) -> int:
|
|||||||
return changes + recoursive_scan(useless_projection, n, rels)
|
return changes + recoursive_scan(useless_projection, n, rels)
|
||||||
|
|
||||||
general_optimizations = [
|
general_optimizations = [
|
||||||
duplicated_select,
|
#duplicated_select,
|
||||||
down_to_unions_subtractions_intersections,
|
#down_to_unions_subtractions_intersections,
|
||||||
duplicated_projection,
|
#duplicated_projection,
|
||||||
selection_inside_projection,
|
#selection_inside_projection,
|
||||||
subsequent_renames,
|
#subsequent_renames,
|
||||||
swap_rename_select,
|
#swap_rename_select,
|
||||||
futile_union_intersection_subtraction,
|
#futile_union_intersection_subtraction,
|
||||||
swap_union_renames,
|
#swap_union_renames,
|
||||||
swap_rename_projection,
|
#swap_rename_projection,
|
||||||
select_union_intersect_subtract,
|
#select_union_intersect_subtract,
|
||||||
union_and_product,
|
#union_and_product,
|
||||||
]
|
]
|
||||||
specific_optimizations = [
|
specific_optimizations = [
|
||||||
selection_and_product,
|
#selection_and_product,
|
||||||
projection_and_union,
|
#projection_and_union,
|
||||||
useless_projection,
|
#useless_projection,
|
||||||
]
|
]
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user