You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit an important increase in compilation times on beta & nightly with a
particular configuration using combine-3.8.1 since the recent version updates
in the Rust toolchains.
I tried building an example without combine in order to submit it to rustc
but it turns out not to be trivial. I ran into this as a side effect in CI and
can't spend much time investigating ATM, sorry.
From the CI logs I have at hand, the issue was not present as of:
rustc 1.41.0-nightly (fdc001156 2019-12-02).
Reduced example
Here is an example with which I was able to reproduce the issue:
I think this should be reported to https://github.com/rust-lang/rust/ . It's a serious regression in the compiler, not in combine. I'm sure there's something in combine that can be optimized too, but initially the problem is the compiler :)
Description
I hit an important increase in compilation times on beta & nightly with a
particular configuration using
combine-3.8.1
since the recent version updatesin the Rust toolchains.
I tried building an example without
combine
in order to submit it torustc
but it turns out not to be trivial. I ran into this as a side effect in CI and
can't spend much time investigating ATM, sorry.
From the CI logs I have at hand, the issue was not present as of:
rustc 1.41.0-nightly (fdc001156 2019-12-02).
Reduced example
Here is an example with which I was able to reproduce the issue:
Toolchain versions
The toolchain used for these tests are those available as of 2019/12/20:
Compilation times
For each test,
cargo clean
was run before building in debug mode.With
message(..)
Without
message(..)
"Interestingly", removing the
.message(..)
line reduces compilation timessignificantly.
The text was updated successfully, but these errors were encountered: