- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit0400ae4
committed
Cache typlens of a SQL function's input arguments.
This gets rid of repetitive get_typlen calls in postquel_sub_params,which show up as costing a few percent of the runtime in simple testcases (more with more parameters).In combination with the preceding patches, this gets us most of theway back down to the amount of per-call overhead that functions.chad before commit0dca5d6. There are some more things that couldbe done, but this seems like an okay place to stop for v18.1 parent0313c5d commit0400ae4
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
1100 | 1101 | | |
1101 | 1102 | | |
1102 | 1103 | | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
1103 | 1113 | | |
1104 | 1114 | | |
1105 | 1115 | | |
| |||
1427 | 1437 | | |
1428 | 1438 | | |
1429 | 1439 | | |
| 1440 | + | |
1430 | 1441 | | |
1431 | 1442 | | |
1432 | 1443 | | |
| |||
1463 | 1474 | | |
1464 | 1475 | | |
1465 | 1476 | | |
1466 | | - | |
| 1477 | + | |
1467 | 1478 | | |
1468 | 1479 | | |
1469 | 1480 | | |
| |||
0 commit comments
Comments
(0)