Fix slow Monotype specialization lookup#9848
Merged
Merged
Conversation
1125937 to
fe0306f
Compare
8a4b0ae to
249b810
Compare
# Conflicts: # src/postcheck/lambda_mono/lower.zig # src/postcheck/lambda_solved/solve.zig # src/postcheck/monotype/ast.zig # src/postcheck/monotype/lower.zig # src/postcheck/monotype_lifted/lift.zig # src/postcheck/monotype_lifted/spec_constr.zig # src/postcheck/solved_lir_lower.zig
# Conflicts: # src/check/checked_artifact.zig # src/postcheck/monotype/lower.zig # src/postcheck/monotype_lifted/lift.zig # src/postcheck/solved_lir_lower.zig
# Conflicts: # src/check/checked_artifact.zig
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #9802. This replaces the slow specialization lookup and recursive digest hot path with direct callable/type identity lookup, keeps active Monotype body lowering in draft graph-owned type cells until sealing, and records the completed implementation plan for the issue. The clean-machine timing comparison is left as benchmark-host validation because this workstation is not suitable for timing conclusions.