Use StraightHashMap.

This commit is contained in:
Stephen Chung
2023-02-11 23:51:36 +08:00
parent 557b368fdb
commit dbac4d5689
2 changed files with 18 additions and 5 deletions

View File

@@ -1121,7 +1121,7 @@ impl Engine {
}
let mut expressions = StaticVec::<ConditionalExpr>::new();
let mut cases = BTreeMap::<u64, CaseBlocksList>::new();
let mut cases = StraightHashMap::<CaseBlocksList>::default();
let mut ranges = StaticVec::<RangeCase>::new();
let mut def_case = None;
let mut def_case_pos = Position::NONE;