| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Sorry, something went wrong.
|
Fixed inefficiency using Guava's sets utility for more efficient intersection |
Sorry, something went wrong.
|
Done |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The fix improves efficiency by:
Adding a null/empty check to handle edge cases gracefully
Still using the first path to create the initial set of coordinates
Using Guava's Sets.intersection() method instead of repeated retainAll() calls
This creates new intersection sets rather than modifying the original set in-place
The result is a more efficient implementation that scales better with larger numbers of dependency paths and larger sets