You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: adopt FxHashMap/FxHashSet for hot-path hash collections
Replace std HashMap/HashSet with rustc-hash FxHashMap/FxHashSet across
extractor, sheet, and wasm crates. FxHash uses a faster non-cryptographic
hash (~50% faster for short string keys like CSS properties) which is
safe for build-time processing of trusted source code.
Converted: CollectedStyles (11 fields), DevupVisitor (4 fields),
ExtractOutput.styles, remap_style_names, extract_class_map_from_code,
class_mapping utilities, expression_map, PropertyMap, and update_styles.
Kept std HashMap for ExtractOption.import_aliases (public API, cold path,
WASM bindings compatibility).
All 1,702 tests passing. Zero clippy warnings.
0 commit comments