On 2013.06.15 01:26:48 -0700, Graydon Hoare wrote: > Here are two simple listings of symbols we're generating: > > http://people.mozilla.org/~graydon/symbols-by-size.txt > http://people.mozilla.org/~graydon/symbols-by-name.txt > > Some things should be immediately apparent: > > - We're generating some (not all) _very_ large functions. > Look at ty::mk_ctxt. It's a single constructor call. > It produces 133kb of code. This has got to be some quadratic > codegen bug.
This seems to be due to the landing pads for the function calls. Each contains one more call to drop, so the code grows quadratically with the number of allocations. Björn _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
