On 6/15/13 6:18 PM, Björn Steinbrink wrote:
OK, so I have a hackish version [1] that "mostly" handles growing
landing pads within a single scope (in nested scopes, the parent cleanup
blocks are already reused). "Mostly" because there seems to be some
problem with e.g. ~int. Consecutive "let x = ~5" lines don't create
chained cleanup blocks, yet. This is probably because of some temporary
cleanups, as the shrinking of the cleanup vector isn't adjusted yet as
still forces the creation of a completely new landing pad. I'll look
into that tomorrow.
The results so far are very promising, though. Compile time for librustc
drops from ~2:35 to ~2:20, the size of mk_ctxt drops from 127180
to 63738 and librustc itself drops from 15294384 to 14901376.
Excellent! A 10% performance win is great at this stage.
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev