rust-lang/rust-analyzer
在 GitHub 查看Expression lowering uses unreasonable amount of stack space
Open
#5,317 创建于 2020年7月11日
A-perfC-enhancementE-hardS-actionablefungood first issue
仓库指标
- Star
- (14,924 star)
- PR 合并指标
- (平均合并 11天 5小时) (30 天内合并 96 个 PR)
描述
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!