diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-01-23 19:36:07 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-01-23 19:39:11 +0300 |
| commit | 0710ebb999dd633bd536e66fcaab3d2a4b1739e8 (patch) | |
| tree | 9093127a50dfe7497e74362de55e997fb088c674 /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | e78d6859f7001b859bf7bacdc87c8da31f2f89e4 (diff) | |
| download | rust-0710ebb999dd633bd536e66fcaab3d2a4b1739e8.tar.gz rust-0710ebb999dd633bd536e66fcaab3d2a4b1739e8.zip | |
don't collect found paths into BTreeSet:
keeping order of inserted Paths having high cost on hot path, collect into HashSet instead and sort afterward. from 1,858,963,938 to 1,448,975,825 I refs.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
