FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use a frozenset in sanitizer.py by mgilson · Pull Request #202 · html5lib/html5lib-python · GitHub

Repository navigation

Use a frozenset in sanitizer.py - #202

Closed
mgilson wants to merge 1 commit into
html5lib:masterfrom
mgilson:frozenset
Closed

mgilson wants to merge 1 commit into
html5lib:masterfrom
mgilson:frozenset

Conversation

mgilson commented Aug 9, 2015

Copy link
Copy Markdown

Since all of those lists were only used for membership checking, this could provide a small speedup.

It also decreases the number of tests due to elements being repeated in some of the fields.

Copy link
Copy Markdown
Member

#110 also fixes this. Though given that needs someone (read: me) to sit down and sort out the testsuite I guess we may as well merge this anyway. (Conflicts? Pff!)

mgilson commented Aug 10, 2015

Copy link
Copy Markdown
Author

Conflict resolution is why we use git, right? :-).

Copy link
Copy Markdown
Member

Bah, git doesn't cope that well when stuff is largely rewritten and moved to a different path. :)

gsnedders closed this May 20, 2016

Copy link
Copy Markdown


Repository health decreased by 0.30% when pulling c7097b1 on mgilson:frozenset into 43522a2 on html5lib:master.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL