- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitb409331
committed
Perform slot validity checks in a separate pass over expression.
This reduces code duplication a bit, but the primary benefit that itmakes JITing expression evaluation easier. When doing so we can't, aspreviously done in the interpreted case, really change opcode withoutrecompiling. Nor dow we just carry around unnecessary branches toavoid re-checking over and over.As a minor side-effect this makes ExecEvalStepOp() O(log(N)) ratherthan O(N).Author: Andres FreundDiscussion:https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de1 parent4717fdb commitb409331
File tree
4 files changed
+165
-136
lines changed- src
- backend/executor
- include
- executor
- nodes
4 files changed
+165
-136
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
680 | 680 |
| |
681 | 681 |
| |
682 | 682 |
| |
683 |
| - | |
684 | 683 |
| |
685 | 684 |
| |
686 | 685 |
| |
687 |
| - | |
| 686 | + | |
688 | 687 |
| |
689 | 688 |
| |
690 |
| - | |
| 689 | + | |
691 | 690 |
| |
692 | 691 |
| |
693 | 692 |
| |
694 | 693 |
| |
695 | 694 |
| |
696 |
| - | |
| 695 | + | |
697 | 696 |
| |
698 | 697 |
| |
699 | 698 |
| |
|
0 commit comments
Comments
(0)