GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Removing some of the Optional.map() and .stream() for performance reasons by bbakerman · Pull Request #3930 · graphql-java/graphql-java Conversation
Member
Some of these are on a critical path so will help a smidge to be more performant. Others are not and are mostly done via IDEA "rewriting" the .stream() to a direct call
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bbakerman
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is critical path stuff and is used in a number of places
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bbakerman
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is more critical path - avoids two Optional allocations
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bbakerman
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is more critical path when defer is on
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
bbakerman
commented
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. critical path when defer is on
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
Test Results 314 files ±0 314 suites ±0 53s ⏱️ -1s Results for commit 0d8ab56. ± Comparison against base commit 397c050. This pull request removes 174 and adds 153 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
One thing: is Collectors.ToList really the same as ArrayList and should we initialize ArrayList with the right size if we know it? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…eams-style-code # Conflicts: # src/main/java/graphql/util/FpKit.java
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.