Commit Graph

315 Commits (5433f14b66bde184f60e0622e9ba081627efbbfb)
 

Author SHA1 Message Date
LtWorf dac465779c Implemented swap_union_renames general optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@177 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-23 08:21:43 +07:00
LtWorf 644d96dc63 fixed subsequent_renames. Now handles cycling renames and completely futile ones like renaming attribute into itself
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@176 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-22 23:08:40 +07:00
LtWorf 5e30121812 Implemented futile_union_intersection_subtraction general optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@175 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-22 22:20:31 +07:00
LtWorf 5dead3a058 stub for parallel execution
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@174 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-13 15:39:19 +07:00
LtWorf 328d0f6bce removed todo... because i did
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@173 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-13 14:34:35 +07:00
LtWorf 1cffcffdbc fixed problem with select and renames when using fields
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@172 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-13 14:15:30 +07:00
LtWorf 17080aa381 fixed problem with select and renames when using fields
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@171 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-13 14:06:42 +07:00
LtWorf 77c6cec3e9 now saved queries have a default value
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@170 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 15:13:48 +07:00
LtWorf 8807d9159d added specific optimizations in GUI
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@169 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 15:09:57 +07:00
LtWorf 8393ca93d9 extended selection_and_product to join
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@168 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 14:48:44 +07:00
LtWorf dd15d6776b solved another error in token->string procedure. this thing is quite hard
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@167 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:53:27 +07:00
LtWorf e5e7dcddd2 fixed error that caused an infinite loop
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@166 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:49:43 +07:00
LtWorf bc60be3ace optimization on product and select working
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@165 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:31:25 +07:00
LtWorf 004a6bb84e optimization on product and select working
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@164 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 13:30:19 +07:00
LtWorf ccc8a5ee0d modified tree. Now it is able to return the fields that an operation will return
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@163 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 12:36:01 +07:00
LtWorf e35b85e534 removed debug prints and corrected returning of modified nodes
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@162 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 08:11:45 +07:00
LtWorf 61a94e73c0 swap_rename_select working
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@161 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 08:03:24 +07:00
LtWorf 952b31ac53 stub for swap_rename_select
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@160 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-12 06:38:58 +07:00
LtWorf 824379cf4c how to do 3rd party optimizations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@159 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:57:23 +07:00
LtWorf e1d02bcd4c removed debug prints and added comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@158 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:51:43 +07:00
LtWorf f273425312 finally subsequent_renames optimization is working
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@157 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:44:52 +07:00
LtWorf 04cc61d317 redoundant renames still under work... this thing is harder than i though
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@156 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-11 16:38:49 +07:00
LtWorf 9cf8cc34a1 work on progress on subsequent renames
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@155 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-08 15:42:02 +07:00
LtWorf c7f1aa060e completed implementation of selection_inside_projection
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@154 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-08 14:51:31 +07:00
LtWorf b3a9d98d24 added selection_inside_projection
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@153 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-08 14:46:29 +07:00
LtWorf 9627500a21 Able to (temporarily) store queries with a name
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@152 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 16:35:21 +07:00
LtWorf 185c3f661d stub to save queries
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@151 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 16:05:27 +07:00
LtWorf 698517067f moved optimization button into advanced (and hidden by default) box
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@150 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 14:36:02 +07:00
LtWorf 195ef42596 added button to undo optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@149 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 14:10:42 +07:00
LtWorf 23740eea4d added button to optimize
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@148 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-06 13:38:58 +07:00
LtWorf 04e3b8e316 added __eq__ method to the tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@147 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 14:45:31 +07:00
LtWorf 7ecf75efb7 stupid indentation
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@146 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 13:50:59 +07:00
LtWorf 52907e67e7 Optimization for rearrangements
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@145 014f5005-505e-4b48-8d0a-63407b615a7c
2009-05-01 13:47:54 +07:00
LtWorf 444d3f9987 optimizes over and over until the tree is stabilized
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@144 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 18:21:50 +07:00
LtWorf 88efcf0b78 i need to reduce sets, so i need selection pushed down in each case
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@143 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:41:05 +07:00
LtWorf 723c63641d added optimization to push down selection when sub-expression has union, intersection or subtraction
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@142 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:39:07 +07:00
LtWorf b694fdd99d can generate empty nodes
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@141 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-30 17:10:05 +07:00
LtWorf bc0492ef77 moved the initialization of psyco after the initialization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@140 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 12:14:00 +07:00
LtWorf a877fd2dcf tries to use python-psyco
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@139 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 12:06:30 +07:00
LtWorf ac0d6fae85 counting changes on the tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@138 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 08:36:28 +07:00
LtWorf 4ba7209964 now handles more than 2 nested selections
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@137 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-29 07:25:39 +07:00
LtWorf a4325679cb removed debug prints
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@136 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:33:16 +07:00
LtWorf e898eed426 added 1st optimization
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@135 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 21:11:18 +07:00
LtWorf 923ac12588 added module to contain optimizations
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@134 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:50:04 +07:00
LtWorf 256cd3e4ca now using isinstance instead of that ugly thing
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@133 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:39:10 +07:00
LtWorf e528a4babf now handles futile nested parenthesis
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@132 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 20:11:25 +07:00
LtWorf 1060e9d275 implemented tree function
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@131 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:42:40 +07:00
LtWorf 92b5e55a75 creation of the tree completed
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@130 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:40:53 +07:00
LtWorf 0ff9ed22a0 converting tokenized expression into tree
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@129 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 18:21:43 +07:00
LtWorf 169f809988 added comments
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@128 014f5005-505e-4b48-8d0a-63407b615a7c
2009-04-28 17:41:21 +07:00