diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-15 11:24:20 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-15 11:28:23 +0200 |
| commit | 44570143989cdd529aff488b8fa5534c4802fbce (patch) | |
| tree | 6ac2b6660b1055c06b20475a05eec0f9359d1143 /compiler/rustc_data_structures/src/stack.rs | |
| parent | 72d66064e77281536588189a916af28a1819b313 (diff) | |
| download | rust-44570143989cdd529aff488b8fa5534c4802fbce.tar.gz rust-44570143989cdd529aff488b8fa5534c4802fbce.zip | |
Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=petrochenkov"
The PR had some unforseen perf regressions that are not as easy to find. Revert the PR for now. This reverts commit 6ae8912a3e7d2c4c775024f58a7ba4b1aedc4073, reversing changes made to 86d6d2b7389fe1b339402c1798edae8b695fc9ef.
Diffstat (limited to 'compiler/rustc_data_structures/src/stack.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/stack.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/stack.rs b/compiler/rustc_data_structures/src/stack.rs index ba22c7f9b97..a4964b7aa0c 100644 --- a/compiler/rustc_data_structures/src/stack.rs +++ b/compiler/rustc_data_structures/src/stack.rs @@ -5,7 +5,6 @@ const RED_ZONE: usize = 100 * 1024; // 100k // Only the first stack that is pushed, grows exponentially (2^n * STACK_PER_RECURSION) from then // on. This flag has performance relevant characteristics. Don't set it too high. -#[allow(clippy::identity_op)] const STACK_PER_RECURSION: usize = 1 * 1024 * 1024; // 1MB /// Grows the stack on demand to prevent stack overflow. Call this in strategic locations |
