Skip to content

Commit

Permalink
perf(syntax): use FxDashMap for exported bindings (#7525)
Browse files Browse the repository at this point in the history
Same as #7521. Use `FxDashMap` instead of plain `DashMap` for hash map storing exported bindings.
  • Loading branch information
overlookmotel committed Nov 28, 2024
1 parent f847d0f commit 4a98230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_syntax/src/module_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct ModuleRecord {

/// Reexported bindings from `export * from 'specifier'`
/// Keyed by resolved path
pub exported_bindings_from_star_export: DashMap<PathBuf, Vec<CompactStr>>,
pub exported_bindings_from_star_export: FxDashMap<PathBuf, Vec<CompactStr>>,

/// `export default name`
/// ^^^^^^^ span
Expand Down

0 comments on commit 4a98230

Please sign in to comment.