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

Allow constant-propagation to be disabled #42125

Merged
merged 3 commits into from
Sep 10, 2021
Merged

Allow constant-propagation to be disabled #42125

merged 3 commits into from
Sep 10, 2021

Commits on Sep 5, 2021

  1. Allow constant-propagation to be disabled

    Our heuristics for constant propagation are imperfect (and probably
    never will be perfect), and I've now seen many examples of
    methods that no developer would ask to have const-propped get
    that treatment. In some cases the cost for latency/precompilation
    is very large. This renames `@aggressive_constprop` to `@constprop`
    and allows two settings, `:aggressive` and `:none`.
    
    Closes #38983 (presuming this will propagate to kw body methods)
    timholy committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    b77a6e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Apply suggestions from code review

    Co-authored-by: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com>
    Co-authored-by: Martin Holters <martin.holters@hsu-hh.de>
    3 people authored Sep 8, 2021
    Configuration menu
    Copy the full SHA
    e3f72cd View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. Configuration menu
    Copy the full SHA
    5f02e1d View commit details
    Browse the repository at this point in the history