[Webkit-unassigned] [Bug 252278] New: [WGSL] Use a SortedArrayMap to match keywords and reserved words

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 17:50:36 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252278

            Bug ID: 252278
           Summary: [WGSL] Use a SortedArrayMap to match keywords and
                    reserved words
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: djg at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230215/cfcc0591/attachment.htm>


More information about the webkit-unassigned mailing list