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

ml-matches: fix performance trap #41925

Merged
merged 1 commit into from
Aug 24, 2021
Merged

ml-matches: fix performance trap #41925

merged 1 commit into from
Aug 24, 2021

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Aug 18, 2021

While normally we try to only call jl_type_morespecific on types with
a non-empty intersection (to be more precise about ambiguity reporting),
the only work we would do here (if the intersect is empty) would also be
to call continue.

Fixes #41518

While normally we try to only call `jl_type_morespecific` on types with
a non-empty intersection (to be more precise about ambiguity reporting),
the only work we would do here (if the intersect is empty) would also be
to call continue.

Fixes #41518
@vtjnash vtjnash requested a review from JeffBezanson August 23, 2021 20:33
@JeffBezanson JeffBezanson added the compiler:latency Compiler latency label Aug 24, 2021
@vtjnash vtjnash merged commit e7995e4 into master Aug 24, 2021
@vtjnash vtjnash deleted the jn/fastup-methods-hvcat branch August 24, 2021 19:30
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
While normally we try to only call `jl_type_morespecific` on types with
a non-empty intersection (to be more precise about ambiguity reporting),
the only work we would do here (if the intersect is empty) would also be
to call continue.

Fixes JuliaLang#41518
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
While normally we try to only call `jl_type_morespecific` on types with
a non-empty intersection (to be more precise about ambiguity reporting),
the only work we would do here (if the intersect is empty) would also be
to call continue.

Fixes JuliaLang#41518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

slowdown in methods(hvcat)
2 participants