5
cache test item names by llogiq · Pull Request #8182 · rust-lang/rust-clippy · G...
source link: https://github.com/rust-lang/rust-clippy/pull/8182
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
This avoids quadratic behavior (collecting all test item names for each eq_op
instance within the module). However, it invests a good deal of memory to buy this speedup. If that becomes a problem, I may need to change the cache to only store the chain of last visited modules.
This hopefully fixes #8171.
changelog: none
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK