about summary refs log tree commit diff
path: root/src/libstd/future.rs
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2013-05-04 18:21:27 +0200
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2013-05-04 18:21:27 +0200
commite5ca35d567e7d243c81d8c41fa0e7268ae8df58f (patch)
tree5e803b63ca550aa9492399f8e64988eb5686f708 /src/libstd/future.rs
parent1f65e4a1d54417cebaed30816c75ae1cb0334566 (diff)
downloadrust-e5ca35d567e7d243c81d8c41fa0e7268ae8df58f.tar.gz
rust-e5ca35d567e7d243c81d8c41fa0e7268ae8df58f.zip
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
Diffstat (limited to 'src/libstd/future.rs')
0 files changed, 0 insertions, 0 deletions