rust-lang/rust-analyzer

Expression lowering uses unreasonable amount of stack space

オープン

#5,317 opened on 2020/07/11

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)Rust (1,726 件のフォーク)batch import
A-perfC-enhancementE-hardS-actionablefungood first issue

Repository metrics

Stars
 (14,924 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Our lowering code for expressions is a single giant match, and looks like it consumes a lot of stack space, even in release mode.

See https://github.com/rust-analyzer/rust-analyzer/pull/5316/commits/12d52a726a1e6ca0f6b08343d13d0f6b50d94d8c for some ways to observe this.

It would be nice to optimize this!

コントリビューターガイド