Skip to content

Conversation

Kordyjan
Copy link
Contributor

Backports #17954 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

This commit has a pair of fixes that bring the scaladoc build time for the repository mentioned in #17577 to a minute instead of hanging.

- Reimplement HierarchyGraph's `+` method in terms of `++` Previously, `++` was implemented in terms of `+`, but `+` called `distinct` resulting in poor performance. Now `distinct` is only called once for a `++` call.
- Get the distinct `LinkToType` values in `InheritanceInformationTransformer.apply`. Previously, `subtypes` could contain duplicates, causing redundant  calls to `getEdges`

[Cherry-picked 9859e89]
Base automatically changed from lts-17967 to release-3.3.2 November 21, 2023 11:17
@Kordyjan
Copy link
Contributor Author

@Kordyjan Kordyjan merged commit 6bfe99b into release-3.3.2 Nov 21, 2023
@Kordyjan Kordyjan deleted the lts-17954 branch November 21, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants