# Ideas on compiler performance improvement?

**URL:** <https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633>\
**Category:** compiler\
**Created:** [May 24, 2018, 4:46am UTC](https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633 "2018-05-24T04:46:03Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![rpjohnst](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/rpjohnst/32/9524_2.png) [@rpjohnst](https://internals.rust-lang.org/u/rpjohnst)\
**Post date:** [June 1, 2018, 4:40pm UTC](https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633/22 "2018-06-01T16:40:54Z")

</div>

You can set the number of code units to 1, and people often do that for release builds. But it doesn’t make things faster, it makes things slower—the the reason to split them up is to parallelize the LLVM stage.

---

<div class="post-metadata">

**Author:** ![mark-i-m](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/mark-i-m/32/3167_2.png) [@mark-i-m](https://internals.rust-lang.org/u/mark-i-m)\
**Post date:** [June 4, 2018, 4:12am UTC](https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633/23 "2018-06-04T04:12:19Z")

</div>

Shameless plug: Is anyone interested in writing something up for [https://github.com/rust-lang-nursery/rustc-guide/issues/88](https://github.com/rust-lang-nursery/rustc-guide/issues/88)?

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [March 25, 2019, 8:30am UTC](https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633/24 "2019-03-25T08:30:18Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

[Previous page](https://internals.rust-lang.org/t/ideas-on-compiler-performance-improvement/7633.md?page=1)
