Bug 252278

Summary: [WGSL] Use a SortedArrayMap to match keywords and reserved words
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebGPUAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Dan Glastonbury
Reported 2023-02-14 17:50:36 PST
In lieu of a tool to generate a trie for detecting keywords and reserved words, replace the long sequence of if/return with a SortedArrayMap of keyword to TokenType.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-14 17:51:13 PST
Dan Glastonbury
Comment 2 2023-02-14 20:56:33 PST
EWS
Comment 3 2023-02-15 17:40:05 PST
Committed 260336@main (9ee0c4ea8853): <https://commits.webkit.org/260336@main> Reviewed commits have been landed. Closing PR #10121 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.