forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit415fe55
Transform proconfig for faster execution.
Store function config settings in lists to avoid the need to parse andallocate for each function execution.Speedup is modest but significant. Additionally, this change alsoseems cleaner and supports some other performance improvements underdiscussion.Discussion:https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030.camel@j-davis.comReviewed-by: Nathan Bossart1 parent03de41d commit415fe55
3 files changed
+60
-16
lines changedLines changed: 20 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
612 | 612 |
| |
613 | 613 |
| |
614 | 614 |
| |
615 |
| - | |
| 615 | + | |
| 616 | + | |
616 | 617 |
| |
617 | 618 |
| |
618 | 619 |
| |
| |||
634 | 635 |
| |
635 | 636 |
| |
636 | 637 |
| |
| 638 | + | |
| 639 | + | |
637 | 640 |
| |
638 | 641 |
| |
639 | 642 |
| |
| |||
666 | 669 |
| |
667 | 670 |
| |
668 | 671 |
| |
| 672 | + | |
669 | 673 |
| |
670 |
| - | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
671 | 677 |
| |
672 | 678 |
| |
673 | 679 |
| |
| |||
680 | 686 |
| |
681 | 687 |
| |
682 | 688 |
| |
683 |
| - | |
| 689 | + | |
684 | 690 |
| |
685 | 691 |
| |
686 | 692 |
| |
| |||
689 | 695 |
| |
690 | 696 |
| |
691 | 697 |
| |
692 |
| - | |
| 698 | + | |
693 | 699 |
| |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
698 | 709 |
| |
699 | 710 |
| |
700 | 711 |
| |
| |||
737 | 748 |
| |
738 | 749 |
| |
739 | 750 |
| |
740 |
| - | |
| 751 | + | |
741 | 752 |
| |
742 | 753 |
| |
743 | 754 |
| |
|
Lines changed: 38 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6215 | 6215 |
| |
6216 | 6216 |
| |
6217 | 6217 |
| |
6218 |
| - | |
6219 |
| - | |
6220 |
| - | |
6221 |
| - | |
| 6218 | + | |
| 6219 | + | |
| 6220 | + | |
6222 | 6221 |
| |
6223 | 6222 |
| |
6224 |
| - | |
6225 |
| - | |
| 6223 | + | |
6226 | 6224 |
| |
6227 | 6225 |
| |
6228 | 6226 |
| |
| |||
6231 | 6229 |
| |
6232 | 6230 |
| |
6233 | 6231 |
| |
| 6232 | + | |
| 6233 | + | |
6234 | 6234 |
| |
6235 | 6235 |
| |
6236 | 6236 |
| |
| |||
6262 | 6262 |
| |
6263 | 6263 |
| |
6264 | 6264 |
| |
| 6265 | + | |
| 6266 | + | |
| 6267 | + | |
| 6268 | + | |
| 6269 | + | |
| 6270 | + | |
| 6271 | + | |
| 6272 | + | |
| 6273 | + | |
| 6274 | + | |
| 6275 | + | |
| 6276 | + | |
| 6277 | + | |
| 6278 | + | |
| 6279 | + | |
| 6280 | + | |
| 6281 | + | |
| 6282 | + | |
| 6283 | + | |
| 6284 | + | |
| 6285 | + | |
| 6286 | + | |
| 6287 | + | |
| 6288 | + | |
| 6289 | + | |
| 6290 | + | |
| 6291 | + | |
| 6292 | + | |
| 6293 | + | |
6265 | 6294 |
| |
6266 | 6295 |
| |
6267 | 6296 |
| |
6268 | 6297 |
| |
6269 | 6298 |
| |
6270 | 6299 |
| |
6271 |
| - | |
6272 | 6300 |
| |
| 6301 | + | |
| 6302 | + | |
| 6303 | + | |
6273 | 6304 |
| |
6274 | 6305 |
| |
6275 | 6306 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
391 | 391 |
| |
392 | 392 |
| |
393 | 393 |
| |
| 394 | + | |
| 395 | + | |
394 | 396 |
| |
395 | 397 |
| |
396 | 398 |
| |
|
0 commit comments
Comments
(0)