Skip to content

Vinext#585

Merged
owjs3901 merged 7 commits intomainfrom
vinext
Feb 27, 2026
Merged

Vinext#585
owjs3901 merged 7 commits intomainfrom
vinext

Conversation

@owjs3901
Copy link
Contributor

No description provided.

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.
@github-actions
Copy link
Contributor

github-actions bot commented Feb 27, 2026

Changepacks

@devup-ui/wasm@1.0.65 → 1.0.66 - bindings/devup-ui-wasm/package.json

Patch

  • Update lib

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
bindings/devup-ui-wasm/src/lib.rs 100.00% <100.00%> (ø)
libs/css/src/optimize_value.rs 100.00% <100.00%> (ø)
libs/extractor/src/css_utils.rs 100.00% <100.00%> (ø)
...tractor/src/extractor/extract_style_from_styled.rs 100.00% <100.00%> (ø)
libs/extractor/src/import_alias_visit.rs 100.00% <100.00%> (ø)
libs/extractor/src/lib.rs 100.00% <ø> (ø)
libs/extractor/src/prop_modify_utils.rs 100.00% <100.00%> (ø)
libs/extractor/src/vanilla_extract.rs 100.00% <100.00%> (ø)
libs/extractor/src/visit.rs 100.00% <100.00%> (ø)
libs/sheet/src/lib.rs 100.00% <100.00%> (ø)
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@owjs3901 owjs3901 merged commit a6debc2 into main Feb 27, 2026
3 checks passed
@owjs3901 owjs3901 deleted the vinext branch February 27, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant