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

dump: remove dependency on uid field [NFCI] #34980

Merged
merged 1 commit into from
Mar 4, 2020
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Mar 3, 2020

Replaces uid != 0 with isconcretetype and the O(n^2) iteration in jl_recache_types with a hash table. Addresses part of #34890

// if (!type_parameter_recursively_external(((jl_unionall_t*)p)->var->ub))
// return 0;
// p = (jl_datatype_t*)((jl_unionall_t*)p)->body;
//}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seemed probably good, but wasn't really functional anymore, and we're not to the point yet where this is a performance bottleneck.

@JeffBezanson JeffBezanson added compiler:latency Compiler latency compiler:precompilation Precompilation of modules labels Mar 3, 2020
@vtjnash vtjnash merged commit 780bbe6 into master Mar 4, 2020
@vtjnash vtjnash deleted the jn/dump-no-uid-nfci branch March 4, 2020 16:59
ravibitsgoa pushed a commit to ravibitsgoa/julia that referenced this pull request Apr 9, 2020
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:latency Compiler latency compiler:precompilation Precompilation of modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants