ladybird/Libraries/LibWeb/HTML/Parser
Andreas Kling 263b125782 LibWeb: Let HTMLTokenizer walk over code points instead of UTF-8
Instead of using UTF-8 iterators to traverse the HTMLTokenizer input
stream one code point at a time, we now do a one-shot conversion up
front from the input encoding to a Vector<u32> of Unicode code points.

This simplifies the tokenizer logic somewhat, and ends up being faster
as well, so win-win.

1.02x speedup on Speedometer 2.1
2025-05-11 01:13:20 +02:00
..
Entities.cpp LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
Entities.h LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
Entities.json LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
HTMLEncodingDetection.cpp LibWeb: Correct some spec typos 2025-04-10 04:01:37 +02:00
HTMLEncodingDetection.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
HTMLParser.cpp LibWeb: Let HTMLTokenizer walk over code points instead of UTF-8 2025-05-11 01:13:20 +02:00
HTMLParser.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
HTMLToken.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
HTMLToken.h LibWeb: Remove unused HTMLToken::Position::byte_offset 2025-04-20 18:43:11 +02:00
HTMLToken.swift LibWeb: Add remaining states to the Swift tokenizer 2024-11-15 10:51:45 -07:00
HTMLTokenizer.cpp LibWeb: Let HTMLTokenizer walk over code points instead of UTF-8 2025-05-11 01:13:20 +02:00
HTMLTokenizer.h LibWeb: Let HTMLTokenizer walk over code points instead of UTF-8 2025-05-11 01:13:20 +02:00
HTMLTokenizer.swift LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
HTMLTokenizerHelpers.cpp LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
HTMLTokenizerHelpers.h LibWeb: Make named character references more spec-compliant & efficient 2025-03-22 16:03:44 +01:00
ListOfActiveFormattingElements.cpp LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ListOfActiveFormattingElements.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SpeculativeHTMLParser.swift LibWeb: Store a SpeculativeHTMLParser on the HTML Parser 2025-04-16 09:02:27 -06:00
StackOfOpenElements.cpp LibWeb: Fix various typos 2025-01-30 15:00:16 +00:00
StackOfOpenElements.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00