Revert "Use Fx* variants of HashMap and HashSet everywhere in Zed" (#7492)

Reverts zed-industries/zed#7481

This would regress performance because we'd be using the standard
library's hash maps everywhere, so reverting for now.
This commit is contained in:
Antonio Scandurra 2024-02-07 13:16:22 +01:00 committed by GitHub
parent 5c8073d344
commit 55129d4d6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 102 additions and 96 deletions

View file

@ -25,11 +25,11 @@ use project::{
};
use semantic_index::{SemanticIndex, SemanticIndexStatus};
use collections::HashSet;
use settings::Settings;
use smol::stream::StreamExt;
use std::{
any::{Any, TypeId},
collections::HashSet,
mem,
ops::{Not, Range},
path::PathBuf,
@ -955,7 +955,7 @@ impl ProjectSearchView {
semantic_state: None,
semantic_permissioned: None,
search_options: options,
panels_with_errors: HashSet::default(),
panels_with_errors: HashSet::new(),
active_match_index: None,
query_editor_was_focused: false,
included_files_editor,