Skip to content

Implement faster tokenizer versions for DOMParser/innerHTML #703

Description

@simonwuelker

The main tokenizer needs to count line numbers, which introduces significant overhead, especially in the SIMD case.

These line numbers are not required in some situations and we should add an option (perhaps with a bool const generic?) to disable them.

Gecko has something similar in https://searchfox.org/firefox-main/source/parser/html/nsHtml5TokenizerLoopPoliciesSIMD.h.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions