RESOLVED WORKSFORME267163
SelectorPseudo*Map.cpp files contain lots of empty entries
https://bugs.webkit.org/show_bug.cgi?id=267163
Summary SelectorPseudo*Map.cpp files contain lots of empty entries
Tim Nguyen (:ntim)
Reported 2024-01-05 17:41:33 PST
See: https://searchfox.org/wubkat/source/__GENERATED__/WebCore/DerivedSources/SelectorPseudoClassAndCompatibilityElementMap.cpp https://searchfox.org/wubkat/source/__GENERATED__/WebCore/DerivedSources/SelectorPseudoElementMap.cpp I failed to notice it when I initially generated the maps. I'm guessing the data needs to be fed in alphabetical order for gperf to generate efficient maps.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-01-05 17:41:42 PST
Tim Nguyen (:ntim)
Comment 2 2024-01-05 18:17:52 PST
This predates 272549@main and 272544@main, not sure what regressed this, or if it was always this way.
Tim Nguyen (:ntim)
Comment 3 2024-01-05 18:19:33 PST
Also pre-dates 272429@main, I guess it's always been like this then...
Tim Nguyen (:ntim)
Comment 4 2024-01-05 18:25:47 PST
I’ve tested before 272429@main which is before any substantial changes to code generation happened, so this is probably how gperf is supposed to behave.
Note You need to log in before you can comment on or make changes to this bug.