Optimize GraphqlTypeComparators by kilink · Pull Request #4151 · graphql-java/graphql-java

Conversation

@kilink

  • Return singleton Comparator from byNameAsc
  • Use ImmutableList.sortedCopyOf to avoid extra List allocation in sortTypes
- Return singleton Comparator from byNameAsc
- Use ImmutableList.sortedCopyOf to avoid extra List allocation in sortTypes

bbakerman

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

2 participants

@kilink @bbakerman