File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -384,14 +384,14 @@ impl Impg {
384384 . map ( |( & k, v) | ( k, ( * v) . clone ( ) ) )
385385 . collect ( )
386386 } else {
387- FxHashMap :: default ( )
387+ FxHashMap :: with_capacity_and_hasher ( self . seq_index . len ( ) , Default :: default ( ) )
388388 } ;
389389 // Initialize first visited range for target_id if not already present
390390 visited_ranges. entry ( target_id)
391391 . or_default ( )
392392 . insert ( ( range_start, range_end) ) ;
393393
394- while let Some ( ( current_target_id, current_target_start, current_target_end) ) = stack. pop ( ) {
394+ while let Some ( ( current_target_id, current_target_start, current_target_end) ) = stack. pop ( ) {
395395 if let Some ( tree) = self . trees . get ( & current_target_id) {
396396 tree. query ( current_target_start, current_target_end, |interval| {
397397 let metadata = & interval. metadata ;
You can’t perform that action at this time.
0 commit comments