Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from rcdom to lol_html #86

Merged
merged 1 commit into from
Nov 10, 2020
Merged

Switch from rcdom to lol_html #86

merged 1 commit into from
Nov 10, 2020

Conversation

jyn514
Copy link
Contributor

@jyn514 jyn514 commented Oct 30, 2020

This is both more efficient and easier to read. Unfortunately it
introduces a ton of dependencies.

Closes #79

@jyn514
Copy link
Contributor Author

jyn514 commented Nov 10, 2020

Ok, I think this is ready for review.

r? @zregvart

@jyn514 jyn514 added the C-enhancement Category: This is a new feature label Nov 10, 2020
@jyn514
Copy link
Contributor Author

jyn514 commented Nov 10, 2020

Huh, surprisingly this didn't affect build times almost at all, even though there are 15 more dependencies now.

Before: https://jyn514.github.io/assets/cargo-timings-html5ever.html
After: https://jyn514.github.io/assets/cargo-timing-lol_html.html

Copy link
Contributor

@zregvart zregvart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is indeed cleaner. LGTM, one not at all important nitpick.

src/parse.rs Outdated Show resolved Hide resolved
This is both more efficient and easier to read. It does introduce a ton
of dependencies, but fortunately compile times are about the same as
before.
@jyn514 jyn514 merged commit 1240c7a into deadlinks:master Nov 10, 2020
@jyn514 jyn514 deleted the html5ever branch November 10, 2020 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: This is a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to HTML5ever 0.25
2 participants