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

InferenceVariable#hashCode is overly time consuming #623

Open
RoiSoleil opened this issue Jan 3, 2023 · 2 comments
Open

InferenceVariable#hashCode is overly time consuming #623

RoiSoleil opened this issue Jan 3, 2023 · 2 comments

Comments

@RoiSoleil
Copy link
Contributor

Eclipse: Version: 2022-12 (4.26.0), Build id: 20221201-1913

InferenceVariable#hashCode is overly time consuming in InferenceContext18

By caching hashCode value, my comilation time is reduced by 7%.

@iloveeclipse
Copy link
Member

Could you please provide example project or at least profiler snapshot before / after?

RoiSoleil added a commit to RoiSoleil/eclipse.jdt.core that referenced this issue Jan 4, 2023
iloveeclipse pushed a commit to RoiSoleil/eclipse.jdt.core that referenced this issue Jan 9, 2023
@jukzi
Copy link
Contributor

jukzi commented May 24, 2023

If hashCode() is really called that often to be performance relevant it might be more likely due to a hash collision. But without any example usecase / sampling it's impossible to investigate.

mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Jul 25, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Jul 26, 2024
* Report diagnostics for the unused imports & private members & local variables
akurtakov pushed a commit to akurtakov/eclipse.jdt.core that referenced this issue Jul 29, 2024
* Report diagnostics for the unused imports & private members & local variables
akurtakov pushed a commit to akurtakov/eclipse.jdt.core that referenced this issue Aug 16, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Sep 5, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Sep 9, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Sep 10, 2024
* Report diagnostics for the unused imports & private members & local variables
akurtakov pushed a commit to akurtakov/eclipse.jdt.core that referenced this issue Sep 18, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Sep 24, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Sep 24, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Oct 15, 2024
* Report diagnostics for the unused imports & private members & local variables
datho7561 pushed a commit to datho7561/eclipse.jdt.core that referenced this issue Oct 18, 2024
* Report diagnostics for the unused imports & private members & local variables
mickaelistria pushed a commit to mickaelistria/eclipse.jdt.core that referenced this issue Oct 23, 2024
* Report diagnostics for the unused imports & private members & local variables
akurtakov pushed a commit to akurtakov/eclipse.jdt.core that referenced this issue Nov 12, 2024
* Report diagnostics for the unused imports & private members & local variables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants