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

Reduce code bloat from managed allocations #6237

Merged
merged 1 commit into from
May 4, 2013

Commits on May 4, 2013

  1. Reduce code bloat from managed allocations

    In commit d7f5e43 "core::rt: Add the local heap to newsched tasks",
    local_malloc and local_free have become rather big and their forced
    inlining causes quite a bit of code bloat. Compile times for crates
    affected by the bloat (e.g. rustc) improve, while others (e.g. libstd)
    seem to be unaffected, so I guess the inlining doesn't gain us much.
    
    Sizes:
                   | librustc   | libsytax
    ---------------|–-----------|------------
    with inlining  | 18,547,824 |  7,110,848
    w/o inlining   | 15,092,040 |  5,518,608
    dotdash committed May 4, 2013
    5 Configuration menu
    Copy the full SHA
    e5ca35d View commit details
    Browse the repository at this point in the history