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
Auto merge of #365 - froydnj:uts-data-slimming, r=SimonSapin
more idna data slimming
We can do a better job of packing the uts46 data:
* We can merge identically-mapped entries that don't have an associated string slice. This saves ~10% space.
* We can make slices smaller and pack them into `Mapping` better, which saves 25% space on 64-bit platforms. I think it might save half that on 32-bit platforms, but I didn't check.
Together these are good for ~42KB of space savings on a 64-bit platform.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/365)
<!-- Reviewable:end -->
0 commit comments