Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use undefined for empty (#4046)
As convention, we will lazily instantiate arrays/sets when adding the first item. This applies to arrays/sets on execution/incremental context, as well as the second member of the GraphQLWrappedResult tuple holding the array of incremental data records.
- Loading branch information
Showing
2 changed files
with
150 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.