about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-01-23 19:36:07 +0300
committerklensy <klensy@users.noreply.github.com>2024-01-23 19:39:11 +0300
commit0710ebb999dd633bd536e66fcaab3d2a4b1739e8 (patch)
tree9093127a50dfe7497e74362de55e997fb088c674 /compiler/rustc_pattern_analysis/src/errors.rs
parente78d6859f7001b859bf7bacdc87c8da31f2f89e4 (diff)
downloadrust-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