Skip to content

Implement faster tokenizer versions for DOMParser/innerHTML #703

@simonwuelker

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions