- Notifications
You must be signed in to change notification settings - Fork5
Commit1e9a6ba
committed
Don't try to remove duplicate OR-subclauses in create_bitmap_subplan and
make_restrictinfo_from_bitmapqual. The likelihood of finding duplicatesseems much less than in the AND-subclause case, and the cost much higher,because OR lists with hundreds or even thousands of subclauses are notuncommon. Per discussion with Ilia Kantor and andrew@supernews.1 parent23e2f9e commit1e9a6ba
2 files changed
+24
-16
lines changedLines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
1046 | 1046 |
| |
1047 | 1047 |
| |
1048 | 1048 |
| |
1049 |
| - | |
1050 |
| - | |
1051 |
| - | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
1052 | 1056 |
| |
1053 | 1057 |
| |
1054 | 1058 |
| |
| |||
1062 | 1066 |
| |
1063 | 1067 |
| |
1064 | 1068 |
| |
1065 |
| - | |
1066 |
| - | |
| 1069 | + | |
| 1070 | + | |
1067 | 1071 |
| |
1068 | 1072 |
| |
1069 | 1073 |
| |
1070 |
| - | |
1071 |
| - | |
| 1074 | + | |
| 1075 | + | |
1072 | 1076 |
| |
1073 | 1077 |
| |
1074 | 1078 |
| |
|
Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
127 |
| - | |
128 |
| - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 |
| |
130 | 134 |
| |
131 | 135 |
| |
| |||
144 | 148 |
| |
145 | 149 |
| |
146 | 150 |
| |
147 |
| - | |
148 |
| - | |
| 151 | + | |
| 152 | + | |
149 | 153 |
| |
150 | 154 |
| |
151 |
| - | |
152 |
| - | |
| 155 | + | |
| 156 | + | |
153 | 157 |
| |
154 | 158 |
| |
155 | 159 |
| |
|
0 commit comments
Comments
(0)