- Notifications
You must be signed in to change notification settings - Fork5
Commit2730eb9
committed
Change exec_eval_simple_expr's param list allocation call from
MemoryContextAllocZero back to MemoryContextAlloc, same as it was in 7.4.The zeroing is unnecessary since all the meaningful fields are filled injust below. I had made it do that out of neatnik-ism, but some testingwith an example provided by Pavel Stehule showed that the zeroing wasaccounting for about 5% of the runtime in a compute-intensive plpgsqlfunction. That seems a bit high of a price for neatnik-ism...1 parent66d8165 commit2730eb9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
3606 | 3606 | | |
3607 | 3607 | | |
3608 | 3608 | | |
3609 | | - | |
| 3609 | + | |
3610 | 3610 | | |
3611 | 3611 | | |
3612 | 3612 | | |
| |||
0 commit comments
Comments
(0)