Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Immutable)IpResourceSet.hashCode is slow #20

Open
ties opened this issue Aug 4, 2023 · 0 comments
Open

(Immutable)IpResourceSet.hashCode is slow #20

ties opened this issue Aug 4, 2023 · 0 comments

Comments

@ties
Copy link
Member

ties commented Aug 4, 2023

Today I profiled a run of code that compares pairs of certificates for overlap. In one of the steps, it deduplicates the entries it tracks by putting records of (uri, path-to-reach-cert, resources) in a Set.

Most time was spent in ImmutableIpResourceSet.hashCode - let's see if we can speed this up. 120s in ImmutableIpResourceSet.hashCode, of which 77s in IpResourceRange.hashCode.

Could also be that it is just a LOT of calls: not sure.

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

No branches or pull requests

1 participant