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

typeintersect: allocation tuning for large UnionAll #54745

Merged
merged 2 commits into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. typeintersect: reduce unneeded allocations from merge_env

    `merge_env` and `final_merge_env` could be skipped
    for emptiness test or if we know there's only 1 valid Union state.
    N5N3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    b2cb6a3 View commit details
    Browse the repository at this point in the history
  2. typeintersect: trunc env before nested intersect_all if valid.

    This only covers the simplest cases. We might want a full dependence analysis and keep env length minimum in the future.
    N5N3 committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    5d69bbb View commit details
    Browse the repository at this point in the history