ladybird/Userland
Timothy Flynn 5d71758742 LibWeb: Move initial creation of Unicode segmenters to the Document
The expensive part of creating a segmenter is doing the locale and UCD
data lookups at creation time. Instead of doing this once per text node,
cache the segmenters on the document, and clone them as needed (cloning
is much, much cheaper).

On a profile loading Ladybird's GitHub repo, the following hot methods
changed as follows:

    ChunkIterator ctor: 6.08% -> 0.21%
    Segmenter factory:  5.86% ->    0%
    Segmenter clone:    N/A   -> 0.09%
2024-09-22 18:42:31 +02:00
..
Libraries LibWeb: Move initial creation of Unicode segmenters to the Document 2024-09-22 18:42:31 +02:00
Services RequestServer: Remove now-unused HTTP related code 2024-09-22 06:43:12 +02:00
Utilities LibWebView+WebContent+headless-browser: Make the page info IPCs async 2024-09-19 18:07:17 +02:00