[parallel-queries] Remove the attribute cache from the CrateStore #50508
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
WG-compiler-performance
Working group: Compiler Performance
The
CStore
maintains a cache of decoded item attributes which:item_attrs
query.The remaining instances where the
CrateMetadata::get_item_attrs()
is called directly should not be performance critical. To solve this issue:attribute_cache
field fromCrateMetadata
and make things compile againcc @rust-lang/wg-compiler-performance
The text was updated successfully, but these errors were encountered: