forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitafaa6b9
committed
Marginal performance hack: avoid unnecessary work in expression_tree_mutator.
We can just palloc, instead of using makeNode, when we are going tooverwrite the whole node anyway in the FLATCOPY macro. Also, useFLATCOPY instead of copyObject for common node types Var and Const.1 parent39a333a commitafaa6b9
1 file changed
+25
-4
lines changedLines changed: 25 additions & 4 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 |
| |
| |||
3770 | 3770 |
| |
3771 | 3771 |
| |
3772 | 3772 |
| |
3773 |
| - | |
| 3773 | + | |
3774 | 3774 |
| |
3775 | 3775 |
| |
3776 | 3776 |
| |
3777 | 3777 |
| |
3778 |
| - | |
| 3778 | + | |
3779 | 3779 |
| |
3780 | 3780 |
| |
3781 | 3781 |
| |
| |||
3789 | 3789 |
| |
3790 | 3790 |
| |
3791 | 3791 |
| |
| 3792 | + | |
| 3793 | + | |
| 3794 | + | |
| 3795 | + | |
| 3796 | + | |
3792 | 3797 |
| |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
3793 | 3806 |
| |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
| 3810 | + | |
| 3811 | + | |
| 3812 | + | |
| 3813 | + | |
| 3814 | + | |
| 3815 | + | |
3794 | 3816 |
| |
3795 | 3817 |
| |
3796 | 3818 |
| |
3797 | 3819 |
| |
3798 | 3820 |
| |
3799 | 3821 |
| |
3800 |
| - | |
3801 | 3822 |
| |
3802 | 3823 |
| |
3803 | 3824 |
| |
|
0 commit comments
Comments
(0)