Bug 241960

Summary: [WebIDL] Cache extended attributes of WebIDL file
Product: WebKit Reporter: Diego Pino <dpino>
Component: BindingsAssignee: Diego Pino <dpino>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Diego Pino 2022-06-24 02:30:24 PDT
Currently the function `GetInterfaceExtendedAttributesFromName` computes a list of extended attributes by opening an IDL file and parsing its contents. The function could cache its results so it doesn't need to compute the list again in case the same IDL file is parsed. There are other functions in CodeGenerator.pm, like `GetDictionaryByType` or `GetEnumByType`, that also cache their results.
Comment 1 Diego Pino 2022-06-24 02:32:43 PDT
Pull request: https://github.com/webkit/webkit/pull/1769
Comment 2 Radar WebKit Bug Importer 2022-07-01 02:31:13 PDT
<rdar://problem/96280013>
Comment 3 EWS 2022-10-17 04:58:27 PDT
Committed 255617@main (c7da26fb5135): <https://commits.webkit.org/255617@main>

Reviewed commits have been landed. Closing PR #1769 and removing active labels.