News for hackers. Stuff that matters.
Re:Rust 1.34.0 by Thaxll on Thursday April 11, 2019 @04:57PM (#19639134)
The memory doubled?
Re:Rust 1.34.0 by pcwalton on Thursday April 11, 2019 @05:24PM (#19639382)
I don't know about that specific measurement, but memory usage of the Rust compiler has not doubled in general. If it did, we'd notice immediately, as the script crate in Servo would probably OOM.
Re:Rust 1.34.0 by burntsushi on Thursday April 11, 2019 @05:30PM (#19639441)
I wouldn't be surprised if it was due to paralellism, e.g., compiling multiple code units in parallel or even better parallelism at the Cargo level. My stat is just the maximum memory usage reported at any point in time. But that's just a guess. ripgrep itself uses more memory when using parallelism, just because of having more buffers.
Re:Rust 1.34.0 by BalinKing on Thursday April 11, 2019 @05:03PM (#19639185)
Not sure if it’s the case here, but decreasing time complexity can often require a corresponding increase in space complexity.