On 2013.07.06 22:21:44 +0200, Björn Steinbrink wrote:
> The problem is that in 0.7 almost all #[inline(always)] attributes got
> replaced by just #[inline]. In your code, this causes the write and
> result function for hashing not to be inlined. On its own, this is not a
> problem, but unfortunately, that codepath triggers stack growth, which
> is a problem.

FWIW, I have a PR at https://github.com/mozilla/rust/pull/7636 that
improves the situation. At least enough inlining happens to pretty much
eliminate the difference between running with and without
RUST_MIN_STACK=8000000.

Still about 40% slower than the 0.6 version though.

Björn
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to