pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/fb55/htmlparser2/pull/1011

/assets/global-52276e82f63bb403.css" /> refactor(tokenizer): Use decorators for even faster parsing by fb55 · Pull Request #1011 · fb55/htmlparser2 · GitHub
Skip to content

refactor(tokenizer): Use decorators for even faster parsing#1011

Draft
fb55 wants to merge 1 commit intomasterfrom
decorators
Draft

refactor(tokenizer): Use decorators for even faster parsing#1011
fb55 wants to merge 1 commit intomasterfrom
decorators

Conversation

@fb55
Copy link
Owner

@fb55 fb55 commented Nov 12, 2021

This leads to another ~5% speed-up. Not sure if it is worth it though, as the code does get quite a bit less understandable.

@fb55 fb55 changed the title refactor: Use decorators for even faster parsing refactor(tokenizer): Use decorators for even faster parsing Nov 12, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1454072605

  • 82 of 83 (98.8%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 99.357%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Tokenizer.ts 82 83 98.8%
Totals Coverage Status
Change from base Build 1449180628: -0.1%
Covered Lines: 773
Relevant Lines: 778

💛 - Coveralls

This leads to another ~5% speed-up. Not sure if it is worth it though, as the code does get quite a bit less understandable.
@fb55 fb55 marked this pull request as draft March 19, 2026 10:58
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.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy