- Notifications
You must be signed in to change notification settings - Fork5
Commitdf4685f
committed
Minor optimizations based on ParallelContext having nworkers_launched.
Originally, we didn't have nworkers_launched, so code that used parallelcontexts had to be preprared for the possibility that not all of theworkers requested actually got launched. But now we can count on knowingthe number of workers that were successfully launched, which can shaveoff a few cycles and simplify some code slightly.Amit Kapila, reviewed by Haribabu Kommi, per a suggestion from PeterGeoghegan.1 parent546cd0d commitdf4685f
File tree
3 files changed
+12
-16
lines changed- src/backend
- access/transam
- executor
3 files changed
+12
-16
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
523 |
| - | |
| 523 | + | |
524 | 524 |
| |
525 | 525 |
| |
526 | 526 |
| |
| |||
560 | 560 |
| |
561 | 561 |
| |
562 | 562 |
| |
563 |
| - | |
| 563 | + | |
564 | 564 |
| |
565 | 565 |
| |
566 | 566 |
| |
| |||
610 | 610 |
| |
611 | 611 |
| |
612 | 612 |
| |
613 |
| - | |
| 613 | + | |
614 | 614 |
| |
615 | 615 |
| |
616 | 616 |
| |
| |||
708 | 708 |
| |
709 | 709 |
| |
710 | 710 |
| |
711 |
| - | |
| 711 | + | |
712 | 712 |
| |
713 | 713 |
| |
714 | 714 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
| 525 | + | |
526 | 526 |
| |
527 | 527 |
| |
528 | 528 |
| |
|
Lines changed: 7 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
156 |
| - | |
157 | 156 |
| |
158 | 157 |
| |
159 | 158 |
| |
| |||
169 | 168 |
| |
170 | 169 |
| |
171 | 170 |
| |
172 |
| - | |
| 171 | + | |
173 | 172 |
| |
174 | 173 |
| |
175 | 174 |
| |
176 |
| - | |
| 175 | + | |
177 | 176 |
| |
178 |
| - | |
| 177 | + | |
179 | 178 |
| |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 | 179 |
| |
184 | 180 |
| |
185 | 181 |
| |
186 | 182 |
| |
187 | 183 |
| |
188 |
| - | |
189 | 184 |
| |
190 | 185 |
| |
191 |
| - | |
192 |
| - | |
193 |
| - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
194 | 189 |
| |
| 190 | + | |
195 | 191 |
| |
196 | 192 |
| |
197 | 193 |
| |
|
0 commit comments
Comments
(0)