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
Improve performance of the uts46 crate
I may have complicated the table structure more than is desired so I'd be happy to remove it if you want. It does shrink the total size of the tables by 6000 * 8 - 1500 * 2 = 42kb though (and gives a slight performance boost).
(Calculation is done as `removed_ranges * range_size - added_indexes * index_size`)
Total performance change of parsing a small and simple url.
```
name old ns/iter new ns/iter diff ns/iter diff % speedup
short 4,819 (5 MB/s) 3,516 (7 MB/s) -1,303 -27.04% x 1.37
```
<!-- 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/453)
<!-- Reviewable:end -->
0 commit comments