Commit cb6abca
authored
validation: improve perf of OverlappingFieldsCanBeMerged (#4520)
This PR changes skips allocating a new empty array for fields without directives and modifies the incremental delivery `hasNoOverlappingStreams` code accordingly.
<img width="727" height="132" alt="image"
src="https://github.com/user-attachments/assets/68680ab4-0fdc-430f-9e9a-68f275f85b22"
/>1 parent a01f596 commit cb6abca
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
709 | | - | |
| 708 | + | |
| 709 | + | |
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
| |||
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
| 830 | + | |
831 | 831 | | |
832 | | - | |
| 832 | + | |
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
| 836 | + | |
837 | 837 | | |
838 | | - | |
| 838 | + | |
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| |||
0 commit comments